91 if (!isA<mappedPatchBase>(p.
patch()))
94 <<
"' not type '" << mappedPatchBase::typeName <<
"'" 96 <<
" of field " << iF.
name()
100 return refCast<const mappedPatchBase>(p.
patch());
116 Info<<
"mapped on field:" 117 << this->internalField().name()
118 <<
" patch:" << this->patch().name()
120 <<
" min:" <<
gMin(*
this)
121 <<
" max:" <<
gMax(*
this)
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
const word & name() const
Return name.
const word & name() const
Return name.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Type gMin(const FieldField< Field, Type > &f)
mappedFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
This boundary condition maps the value at a set of cells or patch faces back to *this.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const polyPatch & patch() const
Return the polyPatch.
Foam::fvPatchFieldMapper.
virtual void write(Ostream &) const
Write.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Type gMax(const FieldField< Field, Type > &f)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Functionality for sampling fields using mappedPatchBase. Every call to mappedField() returns a sample...
Type gAverage(const FieldField< Field, Type > &f)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const mappedPatchBase & mapper(const fvPatch &p, const DimensionedField< Type, volMesh > &iF)
fileName objectPath() const
Return complete path + object name.