Go to the documentation of this file.
104 if (!isA<mappedPatchBase>(
p.patch()))
107 <<
"' not type '" << mappedPatchBase::typeName <<
"'"
108 <<
"\n for patch " <<
p.patch().name()
109 <<
" of field " << iF.name()
110 <<
" in file " << iF.objectPath()
113 return refCast<const mappedPatchBase>(
p.patch());
129 Info<<
"mapped on field:"
130 << this->internalField().name()
131 <<
" patch:" << this->
patch().name()
133 <<
" min:" <<
gMin(*
this)
134 <<
" max:" <<
gMax(*
this)
147 this->writeEntry(
"value", os);
int debug
Static debugging option.
This boundary condition maps the value at a set of cells or patch faces back to *this.
Type gAverage(const FieldField< Field, Type > &f)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
mappedFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
const mappedPatchBase & mapper(const fvPatch &p, const DimensionedField< Type, volMesh > &iF)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
messageStream Info
Information stream (uses stdout - output is on the master only)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Functionality for sampling fields using mappedPatchBase. Every call to mappedField() returns a sample...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Type gMin(const FieldField< Field, Type > &f)
Type gMax(const FieldField< Field, Type > &f)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void write(Ostream &) const
Write.