44 <<
"Trying to construct genericFaPatchField on patch "
62 const label patchSize = this->
size();
66 if (!dict.
found(
"value"))
111 this->writeEntry(
"value",
os);
121 parent_bctype::autoMap(m);
122 this->autoMapGeneric(m);
133 parent_bctype::rmap(rhs, addr);
135 const auto* base = isA<genericPatchFieldBase>(rhs);
138 this->rmapGeneric(*base, addr);
151 <<
"Cannot be called for a genericFaPatchField";
153 genericFatalSolveError
155 this->patch().
name(),
156 this->internalField()
172 <<
"Cannot be called for a genericFaPatchField";
174 genericFatalSolveError
176 this->patch().
name(),
177 this->internalField()
190 <<
"Cannot be called for a genericFaPatchField";
192 genericFatalSolveError
194 this->patch().
name(),
195 this->internalField()
208 <<
"Cannot be called for a genericFaPatchField";
210 genericFatalSolveError
212 this->patch().
name(),
213 this->internalField()
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
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 UList.
Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
A FieldMapper for finite-area patch fields.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
const faPatch & patch() const
Return patch.
const DimensionedField< Type, areaMesh > & internalField() const
Return dimensioned internal field reference.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
virtual bool write()
Write the output fields.
This boundary condition provides a generic version of the calculated condition, useful as a fallback ...
tmp< Field< Type > > gradientInternalCoeffs() const
Fatal.
virtual void rmap(const faPatchField< Type > &, const labelList &)
Reverse map the given faPatchField onto this faPatchField.
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
Fatal.
tmp< Field< Type > > gradientBoundaryCoeffs() const
Fatal.
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Fatal.
virtual void autoMap(const faPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Generic infrastructure for reading/writing unknown patch types.
void writeGeneric(Ostream &os, const bool separateValue) const
void reportMissingEntry(const word &entryName, const word &patchName, const IOobject &io) const
FatalError for missing entry.
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
void mapGeneric(const genericPatchFieldBase &rhs, const MapperType &mapper)
Implementation for construct with mapper.
const word & name() const noexcept
The patch name.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
IOobject io("surfaceFilmProperties", mesh.time().constant(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE, false)
errorManip< error > abort(error &err)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
constexpr char nl
The newline '\n' character (0x0a)
A non-counting (dummy) refCount.