53 active_(
bool(coordSys_))
71 coordSys_(rhs.coordSys_.clone()),
87 auto&
fld = tfld.ref();
104 return coordSys_->transform(
pos,
fld);
106 else if (scale_.size())
130 coordSys_->writeEntry(
os);
136 scale_[dir].writeData(
os);
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
tmp< Field< cmptType > > component(const direction) const
Return a component field of the field.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Helper class to wrap coordinate system and component-wise scaling.
coordinateScaling()
Default construct.
virtual void writeEntry(Ostream &os) const
Write dictionary entry.
Base class for coordinate system specification, the default coordinate system type is cartesian .
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.
dimensioned< cmptType > component(const direction d) const
Return a component as a dimensioned<cmptType>
Registry of regIOobjects.
static constexpr direction nComponents
Number of components in bool is 1.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
const volScalarField & p0
OBJstream os(runTime.globalPath()/outputName)
dimensionedScalar pos(const dimensionedScalar &ds)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define forAll(list, i)
Loop across all elements in list.