43 <<
"Trying to construct generic patchField on patch " 58 parent_bctype(
p, iF,
dict),
61 const label patchSize = this->
size();
84 parent_bctype(rhs,
p, iF, mapper),
87 this->mapGeneric(rhs, mapper);
98 parent_bctype(rhs, iF),
120 parent_bctype::autoMap(m);
121 this->autoMapGeneric(m);
132 parent_bctype::rmap(rhs, addr);
134 const auto* base = isA<genericPatchFieldBase>(rhs);
137 this->rmapGeneric(*base, addr);
virtual void write(Ostream &) const
Write.
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.
This boundary condition provides a generic version of the calculated condition, useful as a fallback ...
const DimensionedField< Type, edgeMesh > & internalField() const noexcept
Return const-reference to the dimensioned internal field.
void reportMissingEntry(const word &entryName, const word &patchName, const IOobject &io) const
FatalError for missing entry.
virtual void autoMap(const faPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A class for handling words, derived from Foam::string.
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
const faPatch & patch() const noexcept
Return the patch.
errorManip< error > abort(error &err)
const word & name() const noexcept
The patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label size() const noexcept
The number of elements in the container.
OBJstream os(runTime.globalPath()/outputName)
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual void rmap(const faePatchField< Type > &, const labelList &)
Reverse map the given faPatchField onto this faPatchField.
Generic infrastructure for reading/writing unknown patch types.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void writeValueEntry(Ostream &os) const
Write *this field as a "value" entry.
const entry * findEntry(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find an entry (const access) with the given keyword.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
genericFaePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, IOobject::NO_REGISTER)
A FieldMapper for finite-area patch fields.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.