54 const Field<Type>&
fld 74 const Field<Type>&
fld 77 auto tresult = tmp<Field<Type>>
::New(
fld.size());
88 const tmp<Field<Type>>& tfld
91 tmp<Field<Type>> tresult =
New(tfld);
102 const tmp<symmTensorField>& trot,
103 const Field<Type>&
fld 106 auto tresult = tmp<Field<Type>>
::New(
fld.size());
117 const tmp<symmTensorField>& trot,
118 const tmp<Field<Type>>& tfld
121 tmp<Field<Type>> tresult =
New(tfld);
122 transform(tresult.ref(), trot(), tfld());
134 const Field<Type>&
fld 137 auto tresult = tmp<Field<Type>>
::New(
fld.size());
148 const tmp<Field<Type>>& tfld
151 tmp<Field<Type>> tresult =
New(tfld);
#define TFOR_ALL_F_OP_FUNC_F_F(typeF1, f1, OP, FUNC, typeF2, f2, typeF3, f3)
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
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 templated field type.
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
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))
#define TFOR_ALL_F_OP_FUNC_S_F(typeF1, f1, OP, FUNC, typeS, s, typeF2, f2)
void clear()
Clear exponents - resets to be dimensionless.
A class for managing temporary objects.
Declaration macros for Field<Type> algebra.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.