30 template<
class AlphaRhoFieldType,
class ... AlphaRhoFieldTypes>
33 const AlphaRhoFieldType& alphaRhoField,
34 const AlphaRhoFieldTypes& ... alphaRhoFields
45 template<
class>
class PrimitiveField
60 template<
class>
class PrimitiveField
74 template<
class>
class PrimitiveField
81 return field.
mesh().complete(field.
name());
85 template<
class AlphaRhoFieldType,
class ... AlphaRhoFieldTypes>
88 const AlphaRhoFieldType& alphaRhoField,
89 const AlphaRhoFieldTypes& ... alphaRhoFields
92 return fieldName(alphaRhoField) +
'*' + fieldsName(alphaRhoFields ...);
96 template<
class AlphaRhoFieldType>
99 const AlphaRhoFieldType& alphaRhoField
102 return fieldName(alphaRhoField);
111 template<
class>
class PrimitiveField,
112 template<
class>
class PrimitiveEqnField
120 return addsSupToField(fieldName(field.
name()), fieldName(eqnField.
name()));
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const GeoMesh & mesh() const
Return mesh.
Generic GeometricField class.
const word & name() const
Return name.
virtual bool addsSupToField(const word &fieldName, const word &eqnFieldName) const =0
Return true if the LagrangianModel adds a source term to the.
static word fieldsName(const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields)
Return the name of the product of the fields associated with a.
static word fieldName(const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields)
Return the name of the field associated with a source term.
A class for handling words, derived from string.