Go to the documentation of this file.
53 active_(
bool(coordSys_))
71 coordSys_(rhs.coordSys_.clone()),
87 auto&
fld = tfld.ref();
99 scale_[dir].value(local.component(dir))
104 return coordSys_->transform(
pos,
fld);
106 else if (scale_.size())
130 coordSys_->writeEntry(coordinateSystem::typeName_(),
os);
136 scale_[dir].writeData(
os);
A class for handling words, derived from Foam::string.
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
A class for managing temporary objects.
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
virtual tmp< Field< Type > > transform(const pointField &pos, const Field< Type > &local) const
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Helper class to wrap coordinate system and component-wise scaling.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Registry of regIOobjects.
Generic templated field type.
static autoPtr< coordinateSystem > New(word modelType, const objectRegistry &obr, const dictionary &dict)
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;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
tmp< Field< cmptType > > component(const direction) const
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensioned< cmptType > component(const direction d) const
virtual void writeEntry(Ostream &os) const
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const volScalarField & p0
static constexpr direction nComponents
Base class for coordinate system specification, the default coordinate system type is cartesian .
dimensionedScalar pos(const dimensionedScalar &ds)