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>
79 "stabilise(" + dsf.
name() +
',' + ds.
name() +
')',
103 template<
class GeoMesh>
116 "pow(" + dsf1.
name() +
',' + dsf2.
name() +
')',
135 template<
class GeoMesh>
148 "pow(" + dsf1.
name() +
',' + dsf2.
name() +
')',
164 template<
class GeoMesh>
177 "pow(" + dsf1.
name() +
',' + dsf2.
name() +
')',
192 template<
class GeoMesh>
208 "pow(" + dsf1.
name() +
',' + dsf2.
name() +
')',
228 template<
class GeoMesh>
241 "pow(" + dsf.
name() +
',' + ds.
name() +
')',
255 template<
class GeoMesh>
268 "pow(" + dsf.
name() +
',' + ds.
name() +
')',
279 template<
class GeoMesh>
289 template<
class GeoMesh>
300 template<
class GeoMesh>
313 "pow(" + ds.
name() +
',' + dsf.
name() +
')',
328 template<
class GeoMesh>
341 "pow(" + ds.
name() +
',' + dsf.
name() +
')',
352 template<
class GeoMesh>
362 template<
class GeoMesh>
375 template<
class GeoMesh>
388 "atan2(" + dsf1.
name() +
',' + dsf2.
name() +
')',
403 template<
class GeoMesh>
416 "atan2(" + dsf1.
name() +
',' + dsf2.
name() +
')',
428 template<
class GeoMesh>
441 "atan2(" + dsf1.
name() +
',' + dsf2.
name() +
')',
452 template<
class GeoMesh>
468 "atan2(" + dsf1.
name() +
',' + dsf2.
name() +
')',
484 template<
class GeoMesh>
497 "atan2(" + dsf.
name() +
',' + ds.
name() +
')',
511 template<
class GeoMesh>
524 "atan2(" + dsf.
name() +
',' + ds.
name() +
')',
535 template<
class GeoMesh>
545 template<
class GeoMesh>
556 template<
class GeoMesh>
569 "atan2(" + ds.
name() +
',' + dsf.
name() +
')',
584 template<
class GeoMesh>
597 "atan2(" + ds.
name() +
',' + dsf.
name() +
')',
608 template<
class GeoMesh>
618 template<
class GeoMesh>
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()) \ 683 #func"(const int n, " \ 684 "const DimensionedField<scalar, GeoMesh>& dsf)" \ 685 ) << "dsf not dimensionless" \ 686 << abort(FatalError); \ 689 tmp<DimensionedField<scalar, GeoMesh> > tFunc \ 691 new DimensionedField<scalar, GeoMesh> \ 695 #func "(" + name(n) + ',' + dsf.name() + ')', \ 704 func(tFunc().field(), n, dsf.field()); \ 709 template<class GeoMesh> \ 710 tmp<DimensionedField<scalar, GeoMesh> > func \ 713 const tmp<DimensionedField<scalar, GeoMesh> >& tdsf \ 716 const DimensionedField<scalar, GeoMesh>& dsf = tdsf(); \ 718 if (!dsf.dimensions().dimensionless()) \ 722 #func"(const int n, " \ 723 "const tmp<DimensionedField<scalar, GeoMesh> >& dsf)" \ 724 ) << " : dsf not dimensionless" \ 725 << abort(FatalError); \ 728 tmp<DimensionedField<scalar, GeoMesh> > tFunc \ 730 reuseTmpDimensionedField<scalar, scalar, GeoMesh>::New \ 733 #func "(" + name(n) + ',' + dsf.name() + ')', \ 738 func(tFunc().field(), n, dsf.field()); \ 740 reuseTmpDimensionedField<scalar, scalar, GeoMesh>::clear(tdsf); \ dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensionedScalar pow3(const dimensionedScalar &ds)
Scalar specific part of the implementation of DimensionedField.
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpName, OpFunc)
dimensionedScalar erfc(const dimensionedScalar &ds)
dimensionedScalar erf(const dimensionedScalar &ds)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
dimensionedScalar j0(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar neg(const dimensionedScalar &ds)
const Field< Type > & field() const
dimensionedScalar y1(const dimensionedScalar &ds)
dimensionedScalar j1(const dimensionedScalar &ds)
static tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
dimensionedScalar jn(const int n, const dimensionedScalar &ds)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
dimensionedScalar posPart(const dimensionedScalar &ds)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
dimensionedScalar cbrt(const dimensionedScalar &ds)
dimensionedScalar log10(const dimensionedScalar &ds)
const fileName & instance() const
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar sign(const dimensionedScalar &ds)
const Mesh & mesh() const
Return mesh.
dimensionedScalar y0(const dimensionedScalar &ds)
const dimensionSet & dimensions() const
Return const reference to dimensions.
dimensionedScalar pow6(const dimensionedScalar &ds)
dimensionedScalar log(const dimensionedScalar &ds)
dimensionSet trans(const dimensionSet &)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2, const word &name, const dimensionSet &dimensions)
const word & name() const
Return const reference to name.
dimensionedScalar negPart(const dimensionedScalar &ds)
dimensionedScalar asinh(const dimensionedScalar &ds)
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar pow025(const dimensionedScalar &ds)
const dimensionSet & dimensions() const
Return dimensions.
dimensionedScalar acos(const dimensionedScalar &ds)
dimensionedScalar lgamma(const dimensionedScalar &ds)
const word & name() const
Return name.
dimensionedScalar tanh(const dimensionedScalar &ds)
dimensionedScalar yn(const int n, const dimensionedScalar &ds)
dimensionedScalar tan(const dimensionedScalar &ds)
dimensionedScalar atan(const dimensionedScalar &ds)
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
tmp< DimensionedField< scalar, GeoMesh > > stabilise(const DimensionedField< scalar, GeoMesh > &dsf, const dimensioned< scalar > &ds)
static void clear(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar pow5(const dimensionedScalar &ds)
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar pos(const dimensionedScalar &ds)
static void clear(const tmp< DimensionedField< Type1, GeoMesh > > &tdf1, const tmp< DimensionedField< Type2, GeoMesh > > &tdf2)
dimensionedScalar acosh(const dimensionedScalar &ds)
const objectRegistry & db() const
Return the local objectRegistry.
dimensionedScalar cosh(const dimensionedScalar &ds)
dimensionedScalar asin(const dimensionedScalar &ds)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
dimensionedScalar atanh(const dimensionedScalar &ds)
dimensionedScalar sinh(const dimensionedScalar &ds)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
const Type & value() const
Return const reference to value.
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensionedScalar sin(const dimensionedScalar &ds)