Go to the documentation of this file.
29 template<class Type, template<class> class PatchField, class GeoMesh>
39 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
48 const GeometricField<Type, PatchField, GeoMesh>& gf,
52 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
55 GeometricField<Type, PatchField, GeoMesh>& gf,
56 const GeometricField<Type, PatchField, GeoMesh>& gf1
59 template<
class Type,
template<
class>
class PatchField,
class GeoMesh,
int r>
63 const GeometricField<Type, PatchField, GeoMesh>& gf1
66 template<
class Type,
template<
class>
class PatchField,
class GeoMesh,
int r>
74 const GeometricField<Type, PatchField, GeoMesh>& gf,
78 template<
class Type,
template<
class>
class PatchField,
class GeoMesh,
int r>
86 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf,
90 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
95 const GeometricField<Type, PatchField, GeoMesh>& gf1
98 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
108 sqr(
const GeometricField<Type, PatchField, GeoMesh>& gf);
110 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
120 sqr(
const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf);
122 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
125 GeometricField<scalar, PatchField, GeoMesh>& gsf,
126 const GeometricField<Type, PatchField, GeoMesh>& gf
129 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
130 tmp<GeometricField<scalar, PatchField, GeoMesh> >
magSqr
132 const GeometricField<Type, PatchField, GeoMesh>& gf
135 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
136 tmp<GeometricField<scalar, PatchField, GeoMesh> >
magSqr
138 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf
141 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
144 GeometricField<scalar, PatchField, GeoMesh>& gsf,
145 const GeometricField<Type, PatchField, GeoMesh>& gf
148 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
149 tmp<GeometricField<scalar, PatchField, GeoMesh> >
mag
151 const GeometricField<Type, PatchField, GeoMesh>& gf
154 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
155 tmp<GeometricField<scalar, PatchField, GeoMesh> >
mag
157 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf
160 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
169 const GeometricField<Type, PatchField, GeoMesh>& gf
172 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
182 cmptAv(
const GeometricField<Type, PatchField, GeoMesh>& gf);
184 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
194 cmptAv(
const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf);
197 #define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY(returnType, func, gFunc) \
199 template<class Type, template<class> class PatchField, class GeoMesh> \
200 dimensioned<returnType> func \
202 const GeometricField<Type, PatchField, GeoMesh>& gf \
205 template<class Type, template<class> class PatchField, class GeoMesh> \
206 dimensioned<returnType> func \
208 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1 \
214 #undef UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY
217 #define UNARY_REDUCTION_FUNCTION(returnType, func, gFunc) \
219 template<class Type, template<class> class PatchField, class GeoMesh> \
220 dimensioned<returnType> func \
222 const GeometricField<Type, PatchField, GeoMesh>& gf \
225 template<class Type, template<class> class PatchField, class GeoMesh> \
226 dimensioned<returnType> func \
228 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1 \
235 #undef UNARY_REDUCTION_FUNCTION
265 #define PRODUCT_OPERATOR(product, op, opFunc) \
268 <class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
272 <typename product<Type1, Type2>::type, PatchField, GeoMesh>& gf, \
273 const GeometricField<Type1, PatchField, GeoMesh>& gf1, \
274 const GeometricField<Type2, PatchField, GeoMesh>& gf2 \
278 <class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
282 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
286 const GeometricField<Type1, PatchField, GeoMesh>& gf1, \
287 const GeometricField<Type2, PatchField, GeoMesh>& gf2 \
291 <class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
295 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
299 const GeometricField<Type1, PatchField, GeoMesh>& gf1, \
300 const tmp<GeometricField<Type2, PatchField, GeoMesh> >& tgf2 \
304 <class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
308 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
312 const tmp<GeometricField<Type1, PatchField, GeoMesh> >& tgf1, \
313 const GeometricField<Type2, PatchField, GeoMesh>& gf2 \
317 <class Type1, class Type2, template<class> class PatchField, class GeoMesh> \
321 <typename product<Type1, Type2>::type, PatchField, GeoMesh> \
325 const tmp<GeometricField<Type1, PatchField, GeoMesh> >& tgf1, \
326 const tmp<GeometricField<Type2, PatchField, GeoMesh> >& tgf2 \
330 <class Form, class Type, template<class> class PatchField, class GeoMesh> \
334 <typename product<Type, Form>::type, PatchField, GeoMesh>& gf, \
335 const GeometricField<Type, PatchField, GeoMesh>& gf1, \
336 const dimensioned<Form>& dvs \
340 <class Form, class Type, template<class> class PatchField, class GeoMesh> \
344 <typename product<Type, Form>::type, PatchField, GeoMesh> \
348 const GeometricField<Type, PatchField, GeoMesh>& gf1, \
349 const dimensioned<Form>& dvs \
357 class Type, template<class> class PatchField, \
363 <typename product<Form, Type>::type, PatchField, GeoMesh> \
367 const GeometricField<Type, PatchField, GeoMesh>& gf1, \
368 const VectorSpace<Form,Cmpt,nCmpt>& vs \
372 <class Form, class Type, template<class> class PatchField, class GeoMesh> \
376 <typename product<Type, Form>::type, PatchField, GeoMesh> \
380 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1, \
381 const dimensioned<Form>& dvs \
389 class Type, template<class> class PatchField, \
395 <typename product<Form, Type>::type, PatchField, GeoMesh> \
399 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1, \
400 const VectorSpace<Form,Cmpt,nCmpt>& vs \
404 <class Form, class Type, template<class> class PatchField, class GeoMesh> \
408 <typename product<Form, Type>::type, PatchField, GeoMesh>& gf, \
409 const dimensioned<Form>& dvs, \
410 const GeometricField<Type, PatchField, GeoMesh>& gf1 \
414 <class Form, class Type, template<class> class PatchField, class GeoMesh> \
418 <typename product<Form, Type>::type, PatchField, GeoMesh> \
422 const dimensioned<Form>& dvs, \
423 const GeometricField<Type, PatchField, GeoMesh>& gf1 \
431 class Type, template<class> class PatchField, \
437 <typename product<Form, Type>::type, PatchField, GeoMesh> \
441 const VectorSpace<Form,Cmpt,nCmpt>& vs, \
442 const GeometricField<Type, PatchField, GeoMesh>& gf1 \
446 <class Form, class Type, template<class> class PatchField, class GeoMesh> \
450 <typename product<Form, Type>::type, PatchField, GeoMesh> \
454 const dimensioned<Form>& dvs, \
455 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1 \
463 class Type, template<class> class PatchField, \
469 <typename product<Form, Type>::type, PatchField, GeoMesh> \
473 const VectorSpace<Form,Cmpt,nCmpt>& vs, \
474 const tmp<GeometricField<Type, PatchField, GeoMesh> >& tgf1 \
485 #undef PRODUCT_OPERATOR
#define BINARY_TYPE_OPERATOR_SF(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#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)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
Type gAverage(const FieldField< Field, Type > &f)
#define UNARY_REDUCTION_FUNCTION(returnType, func, gFunc)
typeOfRank< typename pTraits< arg1 >::cmptType, int(pTraits< arg1 >::rank)+int(pTraits< arg2 >::rank) >::type type
void dot(FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Scalar specific part of the implementation of GeometricField.
Type gSum(const FieldField< Field, Type > &f)
#define BINARY_FUNCTION(ReturnType, Type1, Type2, Func)
dimensioned< scalar > mag(const dimensioned< Type > &)
Field< Type >::cmptType cmptType
dimensionSet transform(const dimensionSet &)
symmTypeOfRank< typename pTraits< arg1 >::cmptType, arg2 *int(pTraits< arg1 >::rank) >::type type
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > sumMag(const DimensionedField< Type, GeoMesh > &df)
void negate(FieldField< Field, Type > &res, const FieldField< Field, Type > &f)
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define PRODUCT_OPERATOR(product, op, opFunc)
scalar gSumMag(const FieldField< Field, Type > &f)
#define BINARY_TYPE_FUNCTION(ReturnType, Type1, Type2, Func)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
#define UNARY_REDUCTION_FUNCTION_WITH_BOUNDARY(returnType, func, gFunc)
tmp< DimensionedField< typename DimensionedField< Type, GeoMesh >::cmptType, GeoMesh >> cmptAv(const DimensionedField< Type, GeoMesh > &df)
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
Type gMin(const FieldField< Field, Type > &f)
#define BINARY_TYPE_OPERATOR_FS(ReturnType, Type1, Type2, Op, OpName, OpFunc)
void multiply(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
void cross(FieldField< Field1, typename crossProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
Type gMax(const FieldField< Field, Type > &f)
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
void dotdot(FieldField< Field1, typename scalarProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)