Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 #ifndef basicSymmetryFvPatchField_H
00036 #define basicSymmetryFvPatchField_H
00037 
00038 #include <finiteVolume/transformFvPatchField.H>
00039 #include <finiteVolume/symmetryFvPatch.H>
00040 
00041 
00042 
00043 namespace Foam
00044 {
00045 
00046 
00047 
00048 
00049 
00050 template<class Type>
00051 class basicSymmetryFvPatchField
00052 :
00053     public transformFvPatchField<Type>
00054 {
00055 
00056 public:
00057 
00058     
00059     TypeName(symmetryFvPatch::typeName_());
00060 
00061 
00062     
00063 
00064         
00065         basicSymmetryFvPatchField
00066         (
00067             const fvPatch&,
00068             const DimensionedField<Type, volMesh>&
00069         );
00070 
00071         
00072         basicSymmetryFvPatchField
00073         (
00074             const fvPatch&,
00075             const DimensionedField<Type, volMesh>&,
00076             const dictionary&
00077         );
00078 
00079         
00080         basicSymmetryFvPatchField
00081         (
00082             const basicSymmetryFvPatchField<Type>&,
00083             const fvPatch&,
00084             const DimensionedField<Type, volMesh>&,
00085             const fvPatchFieldMapper&
00086         );
00087 
00088         
00089         basicSymmetryFvPatchField
00090         (
00091             const basicSymmetryFvPatchField<Type>&
00092         );
00093 
00094         
00095         virtual tmp<fvPatchField<Type> > clone() const
00096         {
00097             return tmp<fvPatchField<Type> >
00098             (
00099                 new basicSymmetryFvPatchField<Type>(*this)
00100             );
00101         }
00102 
00103         
00104         basicSymmetryFvPatchField
00105         (
00106             const basicSymmetryFvPatchField<Type>&,
00107             const DimensionedField<Type, volMesh>&
00108         );
00109 
00110         
00111         virtual tmp<fvPatchField<Type> > clone
00112         (
00113             const DimensionedField<Type, volMesh>& iF
00114         ) const
00115         {
00116             return tmp<fvPatchField<Type> >
00117             (
00118                 new basicSymmetryFvPatchField<Type>(*this, iF)
00119             );
00120         }
00121 
00122 
00123     
00124 
00125         
00126 
00127             
00128             virtual tmp<Field<Type> > snGrad() const;
00129 
00130             
00131             virtual void evaluate
00132             (
00133                 const Pstream::commsTypes commsType=Pstream::blocking
00134             );
00135 
00136             
00137             virtual tmp<Field<Type> > snGradTransformDiag() const;
00138 };
00139 
00140 
00141 
00142 
00143 template<>
00144 tmp<scalarField > basicSymmetryFvPatchField<scalar>::snGrad() const;
00145 
00146 template<>
00147 void basicSymmetryFvPatchField<scalar>::evaluate
00148 (
00149     const Pstream::commsTypes commsType
00150 );
00151 
00152 
00153 
00154 
00155 } 
00156 
00157 
00158 
00159 #ifdef NoRepository
00160 #   include <finiteVolume/basicSymmetryFvPatchField.C>
00161 #endif
00162 
00163 
00164 
00165 #endif
00166 
00167