Go to the documentation of this file.
28 #define TEMPLATE template<class GeoMesh>
38 template<
class GeoMesh>
39 tmp<DimensionedField<scalar, GeoMesh> >
stabilise
51 "stabilise(" + dsf.name() +
',' + ds.
name() +
')',
66 template<
class GeoMesh>
67 tmp<DimensionedField<scalar, GeoMesh> >
stabilise
79 "stabilise(" + dsf.name() +
',' + ds.
name() +
')',
103 template<
class GeoMesh>
104 tmp<DimensionedField<scalar, GeoMesh> >
pow
116 "pow(" + dsf1.name() +
',' + dsf2.name() +
')',
135 template<
class GeoMesh>
136 tmp<DimensionedField<scalar, GeoMesh> >
pow
148 "pow(" + dsf1.name() +
',' + dsf2.name() +
')',
164 template<
class GeoMesh>
165 tmp<DimensionedField<scalar, GeoMesh> >
pow
177 "pow(" + dsf1.name() +
',' + dsf2.name() +
')',
192 template<
class GeoMesh>
193 tmp<DimensionedField<scalar, GeoMesh> >
pow
208 "pow(" + dsf1.name() +
',' + dsf2.name() +
')',
228 template<
class GeoMesh>
229 tmp<DimensionedField<scalar, GeoMesh> >
pow
241 "pow(" + dsf.name() +
',' + ds.
name() +
')',
255 template<
class GeoMesh>
256 tmp<DimensionedField<scalar, GeoMesh> >
pow
268 "pow(" + dsf.name() +
',' + ds.
name() +
')',
279 template<
class GeoMesh>
280 tmp<DimensionedField<scalar, GeoMesh> >
pow
289 template<
class GeoMesh>
290 tmp<DimensionedField<scalar, GeoMesh> >
pow
300 template<
class GeoMesh>
301 tmp<DimensionedField<scalar, GeoMesh> >
pow
313 "pow(" + ds.
name() +
',' + dsf.name() +
')',
328 template<
class GeoMesh>
329 tmp<DimensionedField<scalar, GeoMesh> >
pow
341 "pow(" + ds.
name() +
',' + dsf.name() +
')',
352 template<
class GeoMesh>
353 tmp<DimensionedField<scalar, GeoMesh> >
pow
362 template<
class GeoMesh>
363 tmp<DimensionedField<scalar, GeoMesh> >
pow
375 template<
class GeoMesh>
376 tmp<DimensionedField<scalar, GeoMesh> >
atan2
388 "atan2(" + dsf1.name() +
',' + dsf2.name() +
')',
403 template<
class GeoMesh>
404 tmp<DimensionedField<scalar, GeoMesh> >
atan2
416 "atan2(" + dsf1.name() +
',' + dsf2.name() +
')',
428 template<
class GeoMesh>
429 tmp<DimensionedField<scalar, GeoMesh> >
atan2
441 "atan2(" + dsf1.name() +
',' + dsf2.name() +
')',
452 template<
class GeoMesh>
453 tmp<DimensionedField<scalar, GeoMesh> >
atan2
468 "atan2(" + dsf1.name() +
',' + dsf2.name() +
')',
484 template<
class GeoMesh>
485 tmp<DimensionedField<scalar, GeoMesh> >
atan2
497 "atan2(" + dsf.name() +
',' + ds.
name() +
')',
511 template<
class GeoMesh>
512 tmp<DimensionedField<scalar, GeoMesh> >
atan2
524 "atan2(" + dsf.name() +
',' + ds.
name() +
')',
535 template<
class GeoMesh>
536 tmp<DimensionedField<scalar, GeoMesh> >
atan2
545 template<
class GeoMesh>
546 tmp<DimensionedField<scalar, GeoMesh> >
atan2
556 template<
class GeoMesh>
557 tmp<DimensionedField<scalar, GeoMesh> >
atan2
569 "atan2(" + ds.
name() +
',' + dsf.name() +
')',
584 template<
class GeoMesh>
585 tmp<DimensionedField<scalar, GeoMesh> >
atan2
597 "atan2(" + ds.
name() +
',' + dsf.name() +
')',
608 template<
class GeoMesh>
609 tmp<DimensionedField<scalar, GeoMesh> >
atan2
618 template<
class GeoMesh>
619 tmp<DimensionedField<scalar, GeoMesh> >
atan2
670 #define BesselFunc(func) \
672 template<class GeoMesh> \
673 tmp<DimensionedField<scalar, GeoMesh> > func \
676 const DimensionedField<scalar, GeoMesh>& dsf \
679 if (!dsf.dimensions().dimensionless()) \
681 FatalErrorInFunction \
682 << "dsf not dimensionless" \
683 << abort(FatalError); \
686 tmp<DimensionedField<scalar, GeoMesh> > tFunc \
688 new DimensionedField<scalar, GeoMesh> \
692 #func "(" + name(n) + ',' + dsf.name() + ')', \
701 func(tFunc().field(), n, dsf.field()); \
706 template<class GeoMesh> \
707 tmp<DimensionedField<scalar, GeoMesh> > func \
710 const tmp<DimensionedField<scalar, GeoMesh> >& tdsf \
713 const DimensionedField<scalar, GeoMesh>& dsf = tdsf(); \
715 if (!dsf.dimensions().dimensionless()) \
717 FatalErrorInFunction \
718 << " : dsf not dimensionless" \
719 << abort(FatalError); \
722 tmp<DimensionedField<scalar, GeoMesh> > tFunc \
724 reuseTmpDimensionedField<scalar, scalar, GeoMesh>::New \
727 #func "(" + name(n) + ',' + dsf.name() + ')', \
732 func(tFunc().field(), n, dsf.field()); \
734 reuseTmpDimensionedField<scalar, scalar, GeoMesh>::clear(tdsf); \
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar tan(const dimensionedScalar &ds)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
dimensionedScalar cosh(const dimensionedScalar &ds)
dimensionedScalar y1(const dimensionedScalar &ds)
A class for managing temporary objects.
const Field< Type > & field() const
dimensionedScalar sin(const dimensionedScalar &ds)
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
dimensionedScalar posPart(const dimensionedScalar &ds)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
const word & name() const
Return const reference to name.
const Type & value() const
Return const reference to value.
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar sign(const dimensionedScalar &ds)
dimensionedScalar erf(const dimensionedScalar &ds)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar atanh(const dimensionedScalar &ds)
Scalar specific part of the implementation of DimensionedField.
dimensionedScalar lgamma(const dimensionedScalar &ds)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar pow6(const dimensionedScalar &ds)
const Mesh & mesh() const
Return mesh.
dimensionedScalar tanh(const dimensionedScalar &ds)
dimensionedScalar pow3(const dimensionedScalar &ds)
tmp< DimensionedField< scalar, GeoMesh > > stabilise(const DimensionedField< scalar, GeoMesh > &dsf, const dimensioned< scalar > &ds)
dimensionedScalar log10(const dimensionedScalar &ds)
dimensionedScalar y0(const dimensionedScalar &ds)
dimensionedScalar erfc(const dimensionedScalar &ds)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar asinh(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar pow5(const dimensionedScalar &ds)
dimensionedScalar log(const dimensionedScalar &ds)
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const dimensionSet & dimensions() const
Return dimensions.
dimensionedScalar yn(const int n, const dimensionedScalar &ds)
dimensionedScalar acosh(const dimensionedScalar &ds)
dimensionedScalar negPart(const dimensionedScalar &ds)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar j0(const dimensionedScalar &ds)
dimensionedScalar acos(const dimensionedScalar &ds)
dimensionedScalar atan(const dimensionedScalar &ds)
static void clear(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
static void clear(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1)
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
const dimensionSet & dimensions() const
Return const reference to dimensions.
dimensionedScalar cbrt(const dimensionedScalar &ds)
dimensionSet trans(const dimensionSet &)
dimensionedScalar j1(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)
dimensionedScalar asin(const dimensionedScalar &ds)
static tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2, const word &name, const dimensionSet &dimensions)
static tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar sinh(const dimensionedScalar &ds)