44 <<
"Trying to construct generic patchField on patch " 59 parent_bctype(
p, iF,
dict),
62 const label patchSize = this->
size();
80 parent_bctype(rhs,
p, iF, mapper),
83 this->mapGeneric(rhs, mapper);
94 parent_bctype(rhs, iF),
115 this->autoMapGeneric(m);
126 const auto* base = isA<genericPatchFieldBase>(rhs);
129 this->rmapGeneric(*base, addr);
virtual void write(Ostream &) const
Write.
const pointPatch & patch() const noexcept
Return the patch.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void writeGeneric(Ostream &os, const bool separateValue) const
Write all generic entries from dictionary, optionally treating the "value" entry separately.
constexpr char nl
The newline '\n' character (0x0a)
Foam::pointPatchFieldMapper.
A calculated boundary condition for pointField.
Abstract base class for point-mesh patch fields.
A generic version of calculatedPointPatchField, useful as a fallback for handling unknown patch types...
A class for handling words, derived from Foam::string.
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.
virtual const word & name() const =0
Return name.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Generic infrastructure for reading/writing unknown patch types.
Basic pointPatch represents a set of points from the mesh.
virtual void autoMap(const pointPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
label size() const
Return the patch size.
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
Defines the attributes of an object for which implicit objectRegistry management is supported...
genericPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
const DimensionedField< Type, pointMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.