Go to the documentation of this file.
48 dict.found(coordinateSystem::typeName_())
53 active_(
bool(coordSys_))
55 for (
direction dir = 0; dir < vector::nComponents; ++dir)
71 coordSys_(rhs.coordSys_.clone()),
87 auto&
fld = tfld.ref();
92 for (
direction dir = 0; dir < vector::nComponents; ++dir)
99 scale_[dir].value(local.component(dir))
104 return coordSys_->transform(
pos,
fld);
106 else if (scale_.size())
108 for (
direction dir = 0; dir < vector::nComponents; ++dir)
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.
virtual tmp< Field< Type > > transform(const pointField &pos, const Field< Type > &local) const
Evaluate.
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...
#define forAll(list, i)
Loop across all elements in list.
Registry of regIOobjects.
word name(const complex &c)
Return string representation of complex.
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,...
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
coordinateScaling()
Default construct.
dimensioned< cmptType > component(const direction d) const
Return a component as a dimensioned<cmptType>
virtual void writeEntry(Ostream &os) const
Write dictionary entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const volScalarField & p0
dimensionedScalar pos(const dimensionedScalar &ds)