Go to the documentation of this file.
87 if (
dict.found(
"value"))
109 internalField_(ptf.internalField_)
132 return internalField_.
db();
139 if (&patch_ != &(ptf.patch_))
142 <<
"different patches for faePatchField<Type>s"
172 os.writeEntry(
"type",
type());
227 if (&patch_ != &ptf.
patch())
230 <<
"incompatible patches for patch fields"
244 if (&patch_ != &ptf.
patch())
247 <<
" incompatible patches for patch fields"
void check(const faePatchField< Type > &) const
Check faePatchField<Type> against given faePatchField<Type>
const objectRegistry & db() const
Return local objectRegistry.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
virtual void write(Ostream &) const
Write.
Registry of regIOobjects.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual void autoMap(const faPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
static void check(const int retVal, const char *what)
Generic templated field type.
virtual void rmap(const faePatchField< Type > &, const labelList &)
Reverse map the given faePatchField onto this faePatchField.
const faPatch & patch() const
Return patch.
faePatchField(const faPatch &, const DimensionedField< Type, edgeMesh > &)
Construct from patch and internal field.
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)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A traits class, which is primarily used for primitives.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Finite area patch class. Used for 2-D non-Euclidian finite area method.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const objectRegistry & db() const noexcept
Return the local objectRegistry.