processorCyclicGAMGInterfaceField.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2013 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
30 #include "lduMatrix.H"
31 
32 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
33 
34 namespace Foam
35 {
36  defineTypeNameAndDebug(processorCyclicGAMGInterfaceField, 0);
38  (
39  GAMGInterfaceField,
40  processorCyclicGAMGInterfaceField,
41  lduInterface
42  );
44  (
45  GAMGInterfaceField,
46  processorCyclicGAMGInterfaceField,
47  lduInterfaceField
48  );
50  (
51  GAMGInterfaceField,
52  processorCyclicGAMGInterfaceField,
53  Istream
54  );
55 }
56 
57 
58 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
59 
60 Foam::processorCyclicGAMGInterfaceField::processorCyclicGAMGInterfaceField
61 (
62  const GAMGInterface& GAMGCp,
63  const lduInterfaceField& fineInterface
64 )
65 :
66  processorGAMGInterfaceField(GAMGCp, fineInterface)
67 {}
68 
69 
70 Foam::processorCyclicGAMGInterfaceField::processorCyclicGAMGInterfaceField
71 (
72  const GAMGInterface& GAMGCp,
73  const bool doTransform,
74  const int rank
75 )
76 :
77  processorGAMGInterfaceField(GAMGCp, doTransform, rank)
78 {}
79 
80 
81 Foam::processorCyclicGAMGInterfaceField::processorCyclicGAMGInterfaceField
82 (
83  const GAMGInterface& GAMGCp,
84  Istream& is
85 )
86 :
87  processorGAMGInterfaceField(GAMGCp, is)
88 {}
89 
90 
91 // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
92 
94 {}
95 
96 
97 // ************************************************************************* //
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Definition: Istream.H:57
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
Macros for easy insertion into run-time selection tables.
defineTypeNameAndDebug(combustionModel, 0)
Abstract base class for GAMG agglomerated interfaces.
Definition: GAMGInterface.H:50
::Foam::direction rank(const expressions::valueTypeCode) noexcept
The vector-space rank associated with given valueTypeCode.
Definition: exprTraits.C:70
GAMG agglomerated processor interface field.
Namespace for OpenFOAM.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)