slicedFvPatchField.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
00037
00038
00039
00040
00041
00042 #ifndef slicedFvPatchField_H
00043 #define slicedFvPatchField_H
00044
00045 #include "fvPatchField.H"
00046
00047
00048
00049 namespace Foam
00050 {
00051
00052
00053
00054
00055
00056 template<class Type>
00057 class slicedFvPatchField
00058 :
00059 public fvPatchField<Type>
00060 {
00061
00062 public:
00063
00064
00065 TypeName("sliced");
00066
00067
00068
00069
00070
00071 slicedFvPatchField
00072 (
00073 const fvPatch&,
00074 const DimensionedField<Type, volMesh>&,
00075 const Field<Type>&
00076 );
00077
00078
00079 slicedFvPatchField
00080 (
00081 const fvPatch&,
00082 const DimensionedField<Type, volMesh>&
00083 );
00084
00085
00086 slicedFvPatchField
00087 (
00088 const fvPatch&,
00089 const DimensionedField<Type, volMesh>&,
00090 const dictionary&
00091 );
00092
00093
00094
00095 slicedFvPatchField
00096 (
00097 const slicedFvPatchField<Type>&,
00098 const fvPatch&,
00099 const DimensionedField<Type, volMesh>&,
00100 const fvPatchFieldMapper&
00101 );
00102
00103
00104 slicedFvPatchField(const slicedFvPatchField<Type>&);
00105
00106
00107 virtual tmp<fvPatchField<Type> > clone() const;
00108
00109
00110 slicedFvPatchField
00111 (
00112 const slicedFvPatchField<Type>&,
00113 const DimensionedField<Type, volMesh>&
00114 );
00115
00116
00117 virtual tmp<fvPatchField<Type> > clone
00118 (
00119 const DimensionedField<Type, volMesh>& iF
00120 ) const;
00121
00122
00123
00124
00125 virtual ~slicedFvPatchField<Type>();
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135 virtual bool fixesValue() const
00136 {
00137 return true;
00138 }
00139
00140
00141
00142
00143
00144 virtual tmp<Field<Type> > snGrad() const;
00145
00146
00147
00148 virtual void updateCoeffs();
00149
00150
00151 virtual tmp<Field<Type> > patchInternalField() const;
00152
00153
00154 virtual tmp<Field<Type> > patchNeighbourField
00155 (
00156 const Field<Type>& iField
00157 ) const;
00158
00159
00160
00161 virtual tmp<Field<Type> > patchNeighbourField() const;
00162
00163
00164 virtual void initEvaluate
00165 (
00166 const Pstream::commsTypes commsType=Pstream::blocking
00167 )
00168 {}
00169
00170
00171 virtual void evaluate
00172 (
00173 const Pstream::commsTypes commsType=Pstream::blocking
00174 )
00175 {}
00176
00177
00178
00179 virtual tmp<Field<Type> > valueInternalCoeffs
00180 (
00181 const tmp<scalarField>&
00182 ) const;
00183
00184
00185
00186 virtual tmp<Field<Type> > valueBoundaryCoeffs
00187 (
00188 const tmp<scalarField>&
00189 ) const;
00190
00191
00192
00193 virtual tmp<Field<Type> > gradientInternalCoeffs() const;
00194
00195
00196
00197 virtual tmp<Field<Type> > gradientBoundaryCoeffs() const;
00198
00199
00200
00201 virtual void write(Ostream&) const;
00202
00203
00204
00205
00206 virtual void operator=(const UList<Type>&) {}
00207
00208 virtual void operator=(const fvPatchField<Type>&) {}
00209 virtual void operator+=(const fvPatchField<Type>&) {}
00210 virtual void operator-=(const fvPatchField<Type>&) {}
00211 virtual void operator*=(const fvPatchField<scalar>&) {}
00212 virtual void operator/=(const fvPatchField<scalar>&) {}
00213
00214 virtual void operator+=(const Field<Type>&) {}
00215 virtual void operator-=(const Field<Type>&) {}
00216
00217 virtual void operator*=(const Field<scalar>&) {}
00218 virtual void operator/=(const Field<scalar>&) {}
00219
00220 virtual void operator=(const Type&) {}
00221 virtual void operator+=(const Type&) {}
00222 virtual void operator-=(const Type&) {}
00223 virtual void operator*=(const scalar) {}
00224 virtual void operator/=(const scalar) {}
00225 };
00226
00227
00228
00229
00230 }
00231
00232
00233
00234 #ifdef NoRepository
00235 # include "slicedFvPatchField.C"
00236 #endif
00237
00238
00239
00240 #endif
00241
00242
Copyright © 2000-2009 OpenCFD Ltd