Go to the documentation of this file.
28 #define TEMPLATE template<template<class> class PatchField, class GeoMesh>
38 template<
template<
class>
class PatchField,
class GeoMesh>
51 template<
template<
class>
class PatchField,
class GeoMesh>
52 tmp<GeometricField<scalar, PatchField, GeoMesh> >
stabilise
64 "stabilise(" + gsf.name() +
',' + ds.
name() +
')',
81 template<
template<
class>
class PatchField,
class GeoMesh>
82 tmp<GeometricField<scalar, PatchField, GeoMesh> >
stabilise
95 "stabilise(" + gsf.name() +
',' + ds.
name() +
')',
121 template<
template<
class>
class PatchField,
class GeoMesh>
134 template<
template<
class>
class PatchField,
class GeoMesh>
135 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
147 "pow(" + gsf1.name() +
',' + gsf2.name() +
')',
162 pow(tPow(), gsf1, gsf2);
168 template<
template<
class>
class PatchField,
class GeoMesh>
169 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
182 "pow(" + gsf1.name() +
',' + gsf2.name() +
')',
191 pow(tPow(), gsf1, gsf2);
199 template<
template<
class>
class PatchField,
class GeoMesh>
200 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
213 "pow(" + gsf1.name() +
',' + gsf2.name() +
')',
222 pow(tPow(), gsf1, gsf2);
229 template<
template<
class>
class PatchField,
class GeoMesh>
230 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
242 <scalar, scalar, scalar, scalar, PatchField,
GeoMesh>::
New
246 "pow(" + gsf1.name() +
',' + gsf2.name() +
')',
255 pow(tPow(), gsf1, gsf2);
258 <scalar, scalar, scalar, scalar, PatchField,
GeoMesh>
265 template<
template<
class>
class PatchField,
class GeoMesh>
278 template<
template<
class>
class PatchField,
class GeoMesh>
279 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
291 "pow(" + gsf.name() +
',' + ds.
name() +
')',
298 pow(gsf.dimensions(), ds)
302 pow(tPow(), gsf, ds);
307 template<
template<
class>
class PatchField,
class GeoMesh>
308 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
321 "pow(" + gsf.name() +
',' + ds.
name() +
')',
322 pow(gsf.dimensions(), ds)
326 pow(tPow(), gsf, ds);
333 template<
template<
class>
class PatchField,
class GeoMesh>
334 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
343 template<
template<
class>
class PatchField,
class GeoMesh>
344 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
354 template<
template<
class>
class PatchField,
class GeoMesh>
367 template<
template<
class>
class PatchField,
class GeoMesh>
368 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
380 "pow(" + ds.
name() +
',' + gsf.name() +
')',
387 pow(ds, gsf.dimensions())
391 pow(tPow(), ds, gsf);
397 template<
template<
class>
class PatchField,
class GeoMesh>
398 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
411 "pow(" + ds.
name() +
',' + gsf.name() +
')',
412 pow(ds, gsf.dimensions())
416 pow(tPow(), ds, gsf);
423 template<
template<
class>
class PatchField,
class GeoMesh>
424 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
433 template<
template<
class>
class PatchField,
class GeoMesh>
434 tmp<GeometricField<scalar, PatchField, GeoMesh> >
pow
446 template<
template<
class>
class PatchField,
class GeoMesh>
459 template<
template<
class>
class PatchField,
class GeoMesh>
460 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
472 "atan2(" + gsf1.name() +
',' + gsf2.name() +
')',
479 atan2(gsf1.dimensions(), gsf2.dimensions())
483 atan2(tAtan2(), gsf1, gsf2);
489 template<
template<
class>
class PatchField,
class GeoMesh>
490 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
503 "atan2(" + gsf1.name() +
',' + gsf2.name() +
')',
504 atan2(gsf1.dimensions(), gsf2.dimensions())
508 atan2(tAtan2(), gsf1, gsf2);
516 template<
template<
class>
class PatchField,
class GeoMesh>
517 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
530 "atan2(" + gsf1.name() +
',' + gsf2.name() +
')',
531 atan2( gsf1.dimensions(), gsf2.dimensions())
535 atan2(tAtan2(), gsf1, gsf2);
542 template<
template<
class>
class PatchField,
class GeoMesh>
543 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
555 <scalar, scalar, scalar, scalar, PatchField,
GeoMesh>::
New
559 "atan2(" + gsf1.name() +
',' + gsf2.name() +
')',
560 atan2(gsf1.dimensions(), gsf2.dimensions())
564 atan2(tAtan2(), gsf1, gsf2);
567 <scalar, scalar, scalar, scalar, PatchField,
GeoMesh>
574 template<
template<
class>
class PatchField,
class GeoMesh>
587 template<
template<
class>
class PatchField,
class GeoMesh>
588 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
600 "atan2(" + gsf.name() +
',' + ds.
name() +
')',
607 atan2(gsf.dimensions(), ds)
611 atan2(tAtan2(), gsf, ds);
616 template<
template<
class>
class PatchField,
class GeoMesh>
617 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
630 "atan2(" + gsf.name() +
',' + ds.
name() +
')',
631 atan2(gsf.dimensions(), ds)
635 atan2(tAtan2(), gsf, ds);
642 template<
template<
class>
class PatchField,
class GeoMesh>
643 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
652 template<
template<
class>
class PatchField,
class GeoMesh>
653 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
663 template<
template<
class>
class PatchField,
class GeoMesh>
676 template<
template<
class>
class PatchField,
class GeoMesh>
677 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
689 "atan2(" + ds.
name() +
',' + gsf.name() +
')',
696 atan2(ds, gsf.dimensions())
700 atan2(tAtan2(), ds, gsf);
706 template<
template<
class>
class PatchField,
class GeoMesh>
707 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
720 "atan2(" + ds.
name() +
',' + gsf.name() +
')',
721 atan2(ds, gsf.dimensions())
725 atan2(tAtan2(), ds, gsf);
732 template<
template<
class>
class PatchField,
class GeoMesh>
733 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
742 template<
template<
class>
class PatchField,
class GeoMesh>
743 tmp<GeometricField<scalar, PatchField, GeoMesh> >
atan2
794 #define BesselFunc(func) \
796 template<template<class> class PatchField, class GeoMesh> \
799 GeometricField<scalar, PatchField, GeoMesh>& gsf, \
801 const GeometricField<scalar, PatchField, GeoMesh>& gsf1 \
804 func(gsf.internalField(), n, gsf1.internalField()); \
805 func(gsf.boundaryField(), n, gsf1.boundaryField()); \
808 template<template<class> class PatchField, class GeoMesh> \
809 tmp<GeometricField<scalar, PatchField, GeoMesh> > func \
812 const GeometricField<scalar, PatchField, GeoMesh>& gsf \
815 if (!gsf.dimensions().dimensionless()) \
817 FatalErrorInFunction \
818 << "gsf not dimensionless" \
819 << abort(FatalError); \
822 tmp<GeometricField<scalar, PatchField, GeoMesh> > tFunc \
824 new GeometricField<scalar, PatchField, GeoMesh> \
828 #func "(" + gsf.name() + ')', \
839 func(tFunc(), n, gsf); \
844 template<template<class> class PatchField, class GeoMesh> \
845 tmp<GeometricField<scalar, PatchField, GeoMesh> > func \
848 const tmp<GeometricField<scalar, PatchField, GeoMesh> >& tgsf \
851 const GeometricField<scalar, PatchField, GeoMesh>& gsf = tgsf(); \
853 if (!gsf.dimensions().dimensionless()) \
855 FatalErrorInFunction \
856 << " : gsf not dimensionless" \
857 << abort(FatalError); \
860 tmp<GeometricField<scalar, PatchField, GeoMesh> > tFunc \
862 reuseTmpGeometricField<scalar, scalar, PatchField, GeoMesh>::New \
865 #func "(" + gsf.name() + ')', \
870 func(tFunc(), n, gsf); \
872 reuseTmpGeometricField<scalar, scalar, PatchField, GeoMesh> \
#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)
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
dimensionedScalar cosh(const dimensionedScalar &ds)
dimensionedScalar y1(const dimensionedScalar &ds)
A class for managing temporary objects.
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.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
Scalar specific part of the implementation of GeometricField.
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)
dimensionedScalar lgamma(const dimensionedScalar &ds)
dimensionedScalar pow4(const dimensionedScalar &ds)
dimensionedScalar pow6(const dimensionedScalar &ds)
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)
InternalField & internalField()
Return internal field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar asinh(const dimensionedScalar &ds)
static void clear(const tmp< GeometricField< Type1, PatchField, GeoMesh > > &tdf1)
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)
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
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))
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)
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 &)
Generic GeometricField class.
dimensionedScalar j1(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)
dimensionedScalar asin(const dimensionedScalar &ds)
dimensionedScalar cos(const dimensionedScalar &ds)
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar sinh(const dimensionedScalar &ds)