32 #define TEMPLATE template<template<class> class PatchField, class GeoMesh> 37 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
50 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
53 const GeometricField<SphericalTensor<Cmpt>, PatchField, GeoMesh>&
input,
54 GeometricField<Cmpt, PatchField, GeoMesh>& ii
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
void divide(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
const Internal::FieldType & primitiveField() const noexcept
Return a const-reference to the internal field values.
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.
Generic GeometricField class.
dimensionedScalar det(const dimensionedSphericalTensor &dt)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
void unzip(const FieldField< Field, SphericalTensor< Cmpt >> &input, FieldField< Field, Cmpt > &ii)
Unzip sphericalTensor field field into components.
A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element, derived from VectorSpace.
static Istream & input(Istream &is, IntRange< T > &range)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
Specialisation of FieldField<Field, T> for sphericalTensor.
dimensionedScalar pow3(const dimensionedScalar &ds)
SphericalTensor specific part of the implementation of GeometricField.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.