1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd.
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::nonuniformTransformCyclicFvsPatchField
28 Foam::nonuniformTransformCyclicFvsPatchField
31 nonuniformTransformCyclicFvsPatchField.C
33 \*---------------------------------------------------------------------------*/
35 #ifndef nonuniformTransformCyclicFvsPatchField_H
36 #define nonuniformTransformCyclicFvsPatchField_H
38 #include "cyclicFvsPatchField.H"
39 #include "nonuniformTransformCyclicFvPatch.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 /*---------------------------------------------------------------------------*\
47 Class nonuniformTransformCyclicFvsPatch Declaration
48 \*---------------------------------------------------------------------------*/
51 class nonuniformTransformCyclicFvsPatchField
53 public cyclicFvsPatchField<Type>
58 //- Runtime type information
59 TypeName(nonuniformTransformCyclicFvPatch::typeName_());
64 //- Construct from patch and internal field
65 nonuniformTransformCyclicFvsPatchField
68 const DimensionedField<Type, surfaceMesh>&
71 //- Construct from patch, internal field and dictionary
72 nonuniformTransformCyclicFvsPatchField
75 const DimensionedField<Type, surfaceMesh>&,
79 //- Construct by mapping given
80 // nonuniformTransformCyclicFvsPatchField onto a new patch
81 nonuniformTransformCyclicFvsPatchField
83 const nonuniformTransformCyclicFvsPatchField<Type>&,
85 const DimensionedField<Type, surfaceMesh>&,
86 const fvPatchFieldMapper&
90 nonuniformTransformCyclicFvsPatchField
92 const nonuniformTransformCyclicFvsPatchField<Type>&
95 //- Construct and return a clone
96 virtual tmp<fvsPatchField<Type> > clone() const
98 return tmp<fvsPatchField<Type> >
100 new nonuniformTransformCyclicFvsPatchField<Type>(*this)
104 //- Construct as copy setting internal field reference
105 nonuniformTransformCyclicFvsPatchField
107 const nonuniformTransformCyclicFvsPatchField<Type>&,
108 const DimensionedField<Type, surfaceMesh>&
111 //- Construct and return a clone setting internal field reference
112 virtual tmp<fvsPatchField<Type> > clone
114 const DimensionedField<Type, surfaceMesh>& iF
117 return tmp<fvsPatchField<Type> >
119 new nonuniformTransformCyclicFvsPatchField<Type>(*this, iF)
125 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
127 } // End namespace Foam
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 # include "nonuniformTransformCyclicFvsPatchField.C"
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139 // ************************************************************************* //