Go to the documentation of this file.
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<tensorField>& trot,
103 const Field<Type>&
fld
106 auto tresult = tmp<Field<Type>>
::New(
fld.size());
117 const tmp<tensorField>& 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);
198 const Field<Type>&
fld
201 auto tresult = tmp<Field<Type>>
::New(
fld.size());
212 const tmp<Field<Type>>& tfld
215 tmp<Field<Type>> tresult =
New(tfld);
226 const tmp<tensorField>& trot,
227 const Field<Type>&
fld
230 auto tresult = tmp<Field<Type>>
::New(
fld.size());
241 const tmp<tensorField>& trot,
242 const tmp<Field<Type>>& tfld
245 tmp<Field<Type>> tresult =
New(tfld);
258 const Field<Type>&
fld
261 auto tresult = tmp<Field<Type>>
::New(
fld.size());
272 const tmp<Field<Type>>& tfld
275 tmp<Field<Type>> tresult =
New(tfld);
282 template<
class Type1,
class Type2>
289 template<
class Type1,
class Type2>
293 return tmp<Field<Type1>>(tfld.ptr());
A class for managing temporary objects.
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
Generic templated field type.
void clear()
Reset exponents to be dimensionless.
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))
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
tmp< Field< Type1 > > transformFieldMask(const Field< Type2 > &fld)
#define TFOR_ALL_F_OP_FUNC_S_F(typeF1, f1, OP, FUNC, typeS, s, typeF2, f2)
dimensionSet invTransform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
#define TFOR_ALL_F_OP_FUNC_F_F(typeF1, f1, OP, FUNC, typeF2, f2, typeF3, f3)
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.