Go to the documentation of this file.
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>
SphericalTensor specific part of the implementation of GeometricField.
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
void unzip(const FieldField< Field, SphericalTensor< Cmpt >> &input, FieldField< Field, Cmpt > &ii)
Unzip sphericalTensor field field into components.
const Internal::FieldType & primitiveField() const
Return a const-reference to the internal field.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
Specialisation of FieldField<Field, T> for sphericalTensor.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element,...
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
static Istream & input(Istream &is, IntRange< T > &range)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.