33 #ifndef saturationModels_H
34 #define saturationModels_H
42 namespace saturationModels
56 operator scalar()
const
75 template<
class FieldType>
78 const FieldType& argument,
110 template<
class Model>
133 resultBf[
patchi] = (model.*method)(
p.boundaryField()[
patchi]);
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
PrimitiveField< Type > & primitiveFieldRef()
Return a reference to the internal field.
static tmp< DimensionedField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Mesh &mesh, const dimensionSet &, const PrimitiveField< Type > &)
Return a temporary field constructed from name, mesh,.
Generic GeometricBoundaryField class.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Internal::FieldType & primitiveFieldRef()
Return a reference to the primitive field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
static tmp< GeometricField< Type, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
void size(const label)
Override size to be inconsistent with allocated storage.
Dimension set for the base types.
const scalar & value() const
Return const reference to value.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
A class for handling words, derived from string.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
tmp< scalarField > evaluate(const scalarField &argument, const word &name, const dimensionedScalar &value)
Construct a scalar field from a uniform value.
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Structure to store a dimensioned coefficient of the saturation model.