Go to the documentation of this file.
47 dict.found(coordinateSystem::typeName_())
52 active_(coordSys_.valid())
54 for (
direction dir = 0; dir < vector::nComponents; dir++)
70 coordSys_(cs.coordSys_.clone()),
95 if (coordSys_.valid())
98 for (
direction dir = 0; dir < vector::nComponents; dir++)
105 scale_[dir].value(local.component(dir))
110 return coordSys_->transform(
pos,
fld);
114 for (
direction dir = 0; dir < vector::nComponents; dir++)
133 if (coordSys_.valid())
135 coordSys_->writeEntry(coordinateSystem::typeName_(), os);
141 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.
virtual ~coordinateScaling()
Destructor.
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()
Construct null.
dimensioned< cmptType > component(const direction d) const
Return a component as a dimensioned<cmptType>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const volScalarField & p0
virtual void writeEntry(Ostream &) const
Write dictionary entry.
dimensionedScalar pos(const dimensionedScalar &ds)