ENH: autoLayerDriver: better layering information message
[OpenFOAM-2.0.x.git] / src / OpenFOAM / matrices / lduMatrix / solvers / GAMG / interfaceFields / processorCyclicGAMGInterfaceField / processorCyclicGAMGInterfaceField.H
bloba9c48b5b4b4cabae569c7db6b57fd79bd75d2f5b
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2011 OpenFOAM Foundation
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
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
19     for more details.
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/>.
24 Class
25     Foam::processorCyclicGAMGInterfaceField
27 Description
28     GAMG agglomerated processor interface field.
30 SourceFiles
31     processorCyclicGAMGInterfaceField.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef processorCyclicGAMGInterfaceField_H
36 #define processorCyclicGAMGInterfaceField_H
38 #include "processorGAMGInterfaceField.H"
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 namespace Foam
45 /*---------------------------------------------------------------------------*\
46                Class processorCyclicGAMGInterfaceField Declaration
47 \*---------------------------------------------------------------------------*/
49 class processorCyclicGAMGInterfaceField
51     public processorGAMGInterfaceField
53     // Private data
55 //        //- Local reference cast into the processor interface
56 //        const processorCyclicGAMGInterface& procInterface_;
58 //        //- Is the transform required
59 //        bool doTransform_;
61 //        //- Rank of component for transformation
62 //        int rank_;
65     // Private Member Functions
67         //- Disallow default bitwise copy construct
68         processorCyclicGAMGInterfaceField
69         (
70             const processorCyclicGAMGInterfaceField&
71         );
73         //- Disallow default bitwise assignment
74         void operator=(const processorCyclicGAMGInterfaceField&);
77 public:
79     //- Runtime type information
80     TypeName("processorCyclic");
83     // Constructors
85         //- Construct from GAMG interface and fine level interface field
86         processorCyclicGAMGInterfaceField
87         (
88             const GAMGInterface& GAMGCp,
89             const lduInterfaceField& fineInterface
90         );
93     // Destructor
95         virtual ~processorCyclicGAMGInterfaceField();
98     // Member Functions
100 //        // Access
102 //            //- Return size
103 //            label size() const
104 //            {
105 //                return procInterface_.size();
106 //            }
109 //        // Interface matrix update
111 //            //- Initialise neighbour matrix update
112 //            virtual void initInterfaceMatrixUpdate
113 //            (
114 //                const scalarField& psiInternal,
115 //                scalarField& result,
116 //                const lduMatrix& m,
117 //                const scalarField& coeffs,
118 //                const direction cmpt,
119 //                const Pstream::commsTypes commsType
120 //            ) const;
122 //            //- Update result field based on interface functionality
123 //            virtual void updateInterfaceMatrix
124 //            (
125 //                const scalarField& psiInternal,
126 //                scalarField& result,
127 //                const lduMatrix&,
128 //                const scalarField& coeffs,
129 //                const direction cmpt,
130 //                const Pstream::commsTypes commsType
131 //            ) const;
134 //        //- Processor interface functions
136 //            //- Return processor number
137 //            virtual int myProcNo() const
138 //            {
139 //                return procInterface_.myProcNo();
140 //            }
142 //            //- Return neigbour processor number
143 //            virtual int neighbProcNo() const
144 //            {
145 //                return procInterface_.neighbProcNo();
146 //            }
148 //            //- Does the interface field perform the transfromation
149 //            virtual bool doTransform() const
150 //            {
151 //                return doTransform_;
152 //            }
154 //            //- Return face transformation tensor
155 //            virtual const tensorField& forwardT() const
156 //            {
157 //                return procInterface_.forwardT();
158 //            }
160 //            //- Return rank of component for transform
161 //            virtual int rank() const
162 //            {
163 //                return rank_;
164 //            }
168 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
170 } // End namespace Foam
172 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
174 #endif
176 // ************************************************************************* //