36 #ifndef Foam_SlicedDimensionedField_H 37 #define Foam_SlicedDimensionedField_H 50 template<
class Type,
class GeoMesh>
Specialisation of DimensionedField that holds a slice of a given field so that it acts as a Dimension...
SlicedDimensionedField(const IOobject &io, const Mesh &mesh, const dimensionSet &dims, const Field< Type > &iField)
Construct from components and field to slice.
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
~SlicedDimensionedField()
Destructor.
GeoMesh::Mesh Mesh
The mesh type for the DimensionedField.
GeoMesh::Mesh Mesh
Type of mesh on which this SlicedDimensionedField is instantiated.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
void shallowCopy(T *__restrict__ ptr, const label len) noexcept
Copy the pointer and size.
const Mesh & mesh() const noexcept
Return const reference to mesh.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
Defines the attributes of an object for which implicit objectRegistry management is supported...