processorCyclicGAMGInterface.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
28 #include "Map.H"
29 
30 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
31 
32 namespace Foam
33 {
36  (
40  );
42  (
45  Istream
46  );
47 
48  // Add under name nonConformalProcessorCyclic
50  (
54  nonConformalProcessorCyclic
55  );
57  (
60  Istream,
61  nonConformalProcessorCyclic
62  );
63 }
64 
65 
66 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
67 
69 (
70  const label index,
71  const lduInterfacePtrsList& coarseInterfaces,
72  const lduInterface& fineInterface,
73  const labelField& localRestrictAddressing,
74  const labelField& neighbourRestrictAddressing,
75  const label fineLevelIndex,
76  const label coarseComm
77 )
78 :
80  (
81  index,
82  coarseInterfaces,
83  fineInterface,
84  localRestrictAddressing,
85  neighbourRestrictAddressing,
86  fineLevelIndex,
87  coarseComm
88  )
89 {}
90 
91 
93 (
94  const label index,
95  const lduInterfacePtrsList& coarseInterfaces,
96  Istream& is
97 )
98 :
99  processorGAMGInterface(index, coarseInterfaces, is)
100 {}
101 
102 
103 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
104 
106 {}
107 
108 
109 // ************************************************************************* //
Macros for easy insertion into run-time selection tables.
Abstract base class for GAMG agglomerated interfaces.
Definition: GAMGInterface.H:54
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:60
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
Definition: lduInterface.H:54
GAMG agglomerated processor interface.
processorCyclicGAMGInterface(const label index, const lduInterfacePtrsList &coarseInterfaces, const lduInterface &fineInterface, const labelField &restrictAddressing, const labelField &neighbourRestrictAddressing, const label fineLevelIndex, const label coarseComm)
Construct from fine-level interface,.
GAMG agglomerated processor interface.
Namespace for OpenFOAM.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
addNamedToRunTimeSelectionTable(parcelCloud, collidingCloud, viscosity, collidingCloud)
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)