Go to the documentation of this file.
44 <<
"Trying to construct genericPointPatchField on patch "
45 << this->
patch().name()
46 <<
" of field " << this->internalField().name() <<
nl
62 const label patchSize = this->size();
63 const word& patchName = this->
patch().name();
64 const IOobject& io = this->internalField();
67 processGeneric(patchSize, patchName, io,
false);
83 this->mapGeneric(rhs, mapper);
105 genericPatchFieldBase::writeGeneric(
os,
false);
115 this->autoMapGeneric(m);
126 const auto* base = isA<genericPatchFieldBase>(rhs);
129 this->rmapGeneric(*base, addr);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
Generic infrastructure for reading/writing unknown patch types.
virtual void write(Ostream &) const
Write.
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.
Abstract base class for point-mesh patch fields.
Foam::pointPatchFieldMapper.
genericPointPatchField(const pointPatch &, const DimensionedField< Type, pointMesh > &)
Construct from patch and internal field.
A calculated boundary condition for pointField.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void rmap(const pointPatchField< Type > &, const labelList &)
Reverse map the given pointPatchField onto this pointPatchField.
OBJstream os(runTime.globalPath()/outputName)
A generic version of calculatedPointPatchField, useful as a fallback for handling unknown patch types...
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
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 ...