104 const faePatchField<Type>& ptf
107 faePatchFieldBase(ptf),
109 internalField_(ptf.internalField_)
132 return internalField_.
db();
366 Foam::Ostream& Foam::operator<<(Ostream& os, const faePatchField<Type>& ptf)
const objectRegistry & db() const
Return local objectRegistry.
void operator-=(const UList< Type > &)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Template invariant parts for faePatchField.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
virtual void autoMap(const faPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Generic templated field type.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
virtual void write(Ostream &) const
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void rmap(const faePatchField< Type > &, const labelList &)
Reverse map the given faePatchField onto this faePatchField.
OBJstream os(runTime.globalPath()/outputName)
void operator=(const Field< Type > &)
Copy assignment.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
void assign(const entry &e, const label len)
Assign from a dictionary (primitive) entry.
void autoMap(const FieldMapper &map, const bool applyFlip=true)
Map from self.
void rmap(const UList< Type > &mapF, const labelUList &mapAddressing)
1 to 1 reverse-map from the given field
void check(const faePatchField< Type > &) const
Check faePatchField<Type> against given faePatchField<Type>
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
faePatchField(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...
void operator+=(const UList< Type > &)
Registry of regIOobjects.
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))
A FieldMapper for finite-area patch fields.
void operator/=(const UList< scalar > &)
void checkPatch(const faePatchFieldBase &rhs) const
Check that patches are identical.
void operator*=(const UList< scalar > &)
static constexpr const zero Zero
Global zero (0)