Loading...
Searching...
No Matches
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-------------------------------------------------------------------------------
10License
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
34namespace Foam
35{
38 (
42 );
44 (
48 );
50 (
54 );
55}
56
57
58// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
59
60Foam::processorCyclicGAMGInterfaceField::processorCyclicGAMGInterfaceField
61(
62 const GAMGInterface& GAMGCp,
63 const lduInterfaceField& fineInterface
64)
65:
66 processorGAMGInterfaceField(GAMGCp, fineInterface)
67{}
68
69
70Foam::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
81Foam::processorCyclicGAMGInterfaceField::processorCyclicGAMGInterfaceField
82(
83 const GAMGInterface& GAMGCp,
84 Istream& is
85)
87 processorGAMGInterfaceField(GAMGCp, is)
88{}
89
90
91// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
92
94{}
95
96
97// ************************************************************************* //
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Abstract base class for GAMG agglomerated interface fields.
Abstract base class for GAMG agglomerated interfaces.
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 interface fields e.g. processor and cyclic patch fields...
An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches.
GAMG agglomerated processor interface field.
virtual bool doTransform() const
Does the interface field perform the transformation.
virtual int rank() const
Return rank of component for transform.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Definition className.H:142
Namespace for OpenFOAM.