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(const bool=false);
00165
00166
00167 virtual void evaluate();
00168
00169
00170
00171
00172 virtual tmp<Field<Type> > valueInternalCoeffs
00173 (
00174 const tmp<scalarField>&
00175 ) const;
00176
00177
00178
00179 virtual tmp<Field<Type> > valueBoundaryCoeffs
00180 (
00181 const tmp<scalarField>&
00182 ) const;
00183
00184
00185
00186 virtual tmp<Field<Type> > gradientInternalCoeffs() const;
00187
00188
00189
00190 virtual tmp<Field<Type> > gradientBoundaryCoeffs() const;
00191
00192
00193
00194 virtual void write(Ostream&) const;
00195
00196
00197
00198
00199 virtual void operator=(const UList<Type>&) {}
00200
00201 virtual void operator=(const fvPatchField<Type>&) {}
00202 virtual void operator+=(const fvPatchField<Type>&) {}
00203 virtual void operator-=(const fvPatchField<Type>&) {}
00204 virtual void operator*=(const fvPatchField<scalar>&) {}
00205 virtual void operator/=(const fvPatchField<scalar>&) {}
00206
00207 virtual void operator+=(const Field<Type>&) {}
00208 virtual void operator-=(const Field<Type>&) {}
00209
00210 virtual void operator*=(const Field<scalar>&) {}
00211 virtual void operator/=(const Field<scalar>&) {}
00212
00213 virtual void operator=(const Type&) {}
00214 virtual void operator+=(const Type&) {}
00215 virtual void operator-=(const Type&) {}
00216 virtual void operator*=(const scalar) {}
00217 virtual void operator/=(const scalar) {}
00218 };
00219
00220
00221
00222
00223 }
00224
00225
00226
00227 #ifdef NoRepository
00228 # include "slicedFvPatchField.C"
00229 #endif
00230
00231
00232
00233 #endif
00234
00235
Copyright © 2000-2007 OpenCFD Ltd