Go to the documentation of this file.
43 <<
"Trying to construct an genericFvsPatchField on patch "
58 parent_bctype(
p, iF,
dict),
61 const label patchSize = this->size();
65 if (!dict.
found(
"value"))
84 parent_bctype(rhs,
p, iF, mapper),
87 this->mapGeneric(rhs, mapper);
98 parent_bctype(rhs, iF),
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);
147 const tmp<scalarField>&
151 <<
"Cannot be called for a genericFvsPatchField";
153 genericFatalSolveError
156 this->internalField()
172 <<
"Cannot be called for a genericFvsPatchField";
174 genericFatalSolveError
177 this->internalField()
190 <<
"Cannot be called for a genericFvsPatchField";
192 genericFatalSolveError
195 this->internalField()
207 <<
"Cannot be called for a genericFvsPatchField";
209 genericFatalSolveError
212 this->internalField()
Defines the attributes of an object for which implicit objectRegistry management is supported,...
This boundary condition provides a generic version of the calculated condition, useful as a fallback ...
A class for handling words, derived from Foam::string.
Generic infrastructure for reading/writing unknown patch types.
void reportMissingEntry(const word &entryName, const word &patchName, const IOobject &io) const
A class for managing temporary objects.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
virtual tmp< Field< Type > > valueBoundaryCoeffs(const tmp< scalarField > &) const
Foam::calculatedFvsPatchField.
tmp< Field< Type > > gradientInternalCoeffs() const
virtual const word & name() const
void writeGeneric(Ostream &os, const bool separateValue) const
const DimensionedField< Type, surfaceMesh > & internalField() const
tmp< Field< Type > > gradientBoundaryCoeffs() const
virtual void write(Ostream &) const
virtual tmp< Field< Type > > valueInternalCoeffs(const tmp< scalarField > &) const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void rmap(const fvsPatchField< Type > &, const labelList &)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
void processGeneric(const label patchSize, const word &patchName, const IOobject &io, const bool separateValue)
#define FatalErrorInFunction
virtual void autoMap(const fvPatchFieldMapper &)
const fvPatch & patch() const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
word name(const expressions::valueTypeCode typeCode)
genericFvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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 ...