inletOutletFvPatchField.H
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
00036 #ifndef inletOutletFvPatchField_H
00037 #define inletOutletFvPatchField_H
00038
00039 #include "mixedFvPatchField.H"
00040
00041
00042
00043 namespace Foam
00044 {
00045
00046
00047
00048
00049
00050 template<class Type>
00051 class inletOutletFvPatchField
00052 :
00053 public mixedFvPatchField<Type>
00054 {
00055
00056 protected:
00057
00058
00059
00060 word phiName_;
00061
00062
00063 public:
00064
00065
00066 TypeName("inletOutlet");
00067
00068
00069
00070
00071
00072 inletOutletFvPatchField
00073 (
00074 const fvPatch&,
00075 const DimensionedField<Type, volMesh>&
00076 );
00077
00078
00079 inletOutletFvPatchField
00080 (
00081 const fvPatch&,
00082 const DimensionedField<Type, volMesh>&,
00083 const dictionary&
00084 );
00085
00086
00087 inletOutletFvPatchField
00088 (
00089 const inletOutletFvPatchField<Type>&,
00090 const fvPatch&,
00091 const DimensionedField<Type, volMesh>&,
00092 const fvPatchFieldMapper&
00093 );
00094
00095
00096 inletOutletFvPatchField
00097 (
00098 const inletOutletFvPatchField<Type>&
00099 );
00100
00101
00102 virtual tmp<fvPatchField<Type> > clone() const
00103 {
00104 return tmp<fvPatchField<Type> >
00105 (
00106 new inletOutletFvPatchField<Type>(*this)
00107 );
00108 }
00109
00110
00111 inletOutletFvPatchField
00112 (
00113 const inletOutletFvPatchField<Type>&,
00114 const DimensionedField<Type, volMesh>&
00115 );
00116
00117
00118 virtual tmp<fvPatchField<Type> > clone
00119 (
00120 const DimensionedField<Type, volMesh>& iF
00121 ) const
00122 {
00123 return tmp<fvPatchField<Type> >
00124 (
00125 new inletOutletFvPatchField<Type>(*this, iF)
00126 );
00127 }
00128
00129
00130
00131
00132
00133 virtual void updateCoeffs();
00134
00135
00136 virtual void write(Ostream&) const;
00137
00138
00139
00140
00141 virtual void operator=(const fvPatchField<Type>& pvf);
00142 };
00143
00144
00145
00146
00147 }
00148
00149
00150
00151 #ifdef NoRepository
00152 # include "inletOutletFvPatchField.C"
00153 #endif
00154
00155
00156
00157 #endif
00158
00159
Copyright © 2000-2009 OpenCFD Ltd