1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
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.
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
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/>.
25 Foam::processorCyclicGAMGInterfaceField
28 GAMG agglomerated processor interface field.
31 processorCyclicGAMGInterfaceField.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef processorCyclicGAMGInterfaceField_H
36 #define processorCyclicGAMGInterfaceField_H
38 #include "processorGAMGInterfaceField.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 /*---------------------------------------------------------------------------*\
46 Class processorCyclicGAMGInterfaceField Declaration
47 \*---------------------------------------------------------------------------*/
49 class processorCyclicGAMGInterfaceField
51 public processorGAMGInterfaceField
55 // //- Local reference cast into the processor interface
56 // const processorCyclicGAMGInterface& procInterface_;
58 // //- Is the transform required
61 // //- Rank of component for transformation
65 // Private Member Functions
67 //- Disallow default bitwise copy construct
68 processorCyclicGAMGInterfaceField
70 const processorCyclicGAMGInterfaceField&
73 //- Disallow default bitwise assignment
74 void operator=(const processorCyclicGAMGInterfaceField&);
79 //- Runtime type information
80 TypeName("processorCyclic");
85 //- Construct from GAMG interface and fine level interface field
86 processorCyclicGAMGInterfaceField
88 const GAMGInterface& GAMGCp,
89 const lduInterfaceField& fineInterface
95 virtual ~processorCyclicGAMGInterfaceField();
103 // label size() const
105 // return procInterface_.size();
109 // // Interface matrix update
111 // //- Initialise neighbour matrix update
112 // virtual void initInterfaceMatrixUpdate
114 // const scalarField& psiInternal,
115 // scalarField& result,
116 // const lduMatrix& m,
117 // const scalarField& coeffs,
118 // const direction cmpt,
119 // const Pstream::commsTypes commsType
122 // //- Update result field based on interface functionality
123 // virtual void updateInterfaceMatrix
125 // const scalarField& psiInternal,
126 // scalarField& result,
128 // const scalarField& coeffs,
129 // const direction cmpt,
130 // const Pstream::commsTypes commsType
134 // //- Processor interface functions
136 // //- Return processor number
137 // virtual int myProcNo() const
139 // return procInterface_.myProcNo();
142 // //- Return neigbour processor number
143 // virtual int neighbProcNo() const
145 // return procInterface_.neighbProcNo();
148 // //- Does the interface field perform the transfromation
149 // virtual bool doTransform() const
151 // return doTransform_;
154 // //- Return face transformation tensor
155 // virtual const tensorField& forwardT() const
157 // return procInterface_.forwardT();
160 // //- Return rank of component for transform
161 // virtual int rank() const
168 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
170 } // End namespace Foam
172 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
176 // ************************************************************************* //