75 const bool valueRequired
89 const bool mappingRequired
96 mapper(*
this, ptf, calculatedFvPatchFieldNaN<Type>());
119 typename patchConstructorTable::iterator patchTypeCstrIter =
120 patchConstructorTablePtr_->find(
p.type());
122 if (patchTypeCstrIter != patchConstructorTablePtr_->end())
124 return patchTypeCstrIter()
145 template<
class Type2>
151 return NewCalculatedType(pf.
patch());
164 mapper(*
this, ptf, calculatedFvPatchFieldNaN<Type>());
176 <<
"cannot be called for a calculatedFvPatchField"
177 <<
"\n on patch " << this->patch().name()
178 <<
" of field " << this->internalField().name()
179 <<
" in file " << this->internalField().objectPath()
180 <<
"\n You are probably trying to solve for a field with a "
181 "default boundary condition."
196 <<
"cannot be called for a calculatedFvPatchField"
197 <<
"\n on patch " << this->patch().name()
198 <<
" of field " << this->internalField().name()
199 <<
" in file " << this->internalField().objectPath()
200 <<
"\n You are probably trying to solve for a field with a "
201 "default boundary condition."
213 <<
"cannot be called for a calculatedFvPatchField"
214 <<
"\n on patch " << this->patch().name()
215 <<
" of field " << this->internalField().name()
216 <<
" in file " << this->internalField().objectPath()
217 <<
"\n You are probably trying to solve for a field with a "
218 "default boundary condition."
230 <<
"cannot be called for a calculatedFvPatchField"
231 <<
"\n on patch " << this->patch().name()
232 <<
" of field " << this->internalField().name()
233 <<
" in file " << this->internalField().objectPath()
234 <<
"\n You are probably trying to solve for a field with a "
235 "default boundary condition."
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
static const DimensionedField< Type, GeoMesh > & null()
Return a null DimensionedField.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition is not designed to be evaluated; it is assumed that the value is assigned via...
calculatedFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Return the matrix diagonal coefficients corresponding to the.
tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Return the matrix source coefficients corresponding to the.
virtual void map(const fvPatchField< Type > &, const fieldMapper &)
Map the given fvPatchField onto this fvPatchField.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
virtual void write(Ostream &) const
Write.
static tmp< fvPatchField< Type > > NewCalculatedType(const fvPatch &)
Return a pointer to a new calculatedFvPatchField created on.
const fvPatch & patch() const
Return patch.
static const word & calculatedType()
Return the type of the calculated for of fvPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Traits class for primitives.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManip< error > abort(error &err)
label calculatedFvPatchFieldNaN< label >()
Type calculatedFvPatchFieldNaN()
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
static const label labelMax