30 template<
class Type,
class GeoMesh>
40 const bool caching =
mesh.thisDb().cacheTemporaryObject(
name);
48 mesh.thisDb().time().timeName(),
50 IOobjectOption::NO_READ,
51 IOobjectOption::NO_WRITE,
61 template<
class Type,
class GeoMesh>
71 const bool caching =
mesh.thisDb().cacheTemporaryObject(
name);
79 mesh.thisDb().time().timeName(),
81 IOobjectOption::NO_READ,
82 IOobjectOption::NO_WRITE,
92 template<
class Type,
class GeoMesh>
101 const bool caching =
mesh.thisDb().cacheTemporaryObject(
name);
109 mesh.thisDb().time().timeName(),
111 IOobjectOption::NO_READ,
112 IOobjectOption::NO_WRITE,
122 template<
class Type,
class GeoMesh>
132 const bool caching =
mesh.thisDb().cacheTemporaryObject(
name);
140 mesh.thisDb().time().timeName(),
142 IOobjectOption::NO_READ,
143 IOobjectOption::NO_WRITE,
154 template<
class Type,
class GeoMesh>
173 template<
class Type,
class GeoMesh>
181 const bool caching = tfld().db().cacheTemporaryObject(
name);
192 IOobjectOption::NO_READ,
193 IOobjectOption::NO_WRITE,
201 template<
class Type,
class GeoMesh>
202 template<
class AnyType>
211 const bool caching =
fld.db().cacheTemporaryObject(
name);
221 IOobjectOption::NO_READ,
222 IOobjectOption::NO_WRITE,
231 template<
class Type,
class GeoMesh>
232 template<
class AnyType>
241 const bool caching =
fld.db().cacheTemporaryObject(
name);
251 IOobjectOption::NO_READ,
252 IOobjectOption::NO_WRITE,
const Type & value() const noexcept
Return const reference to value.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Generic dimensioned Type class.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Generic templated field type.
A class for handling words, derived from Foam::string.
const dimensionSet & dimensions() const noexcept
Return const reference to dimensions.
Foam::pointMesh ::Mesh Mesh
Type of mesh on which this DimensionedField is instantiated.
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))
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
static tmp< DimensionedField< Type, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &dims, const Field< Type > &iField)
Return tmp field from name, mesh, dimensions, copy of internal field.