30 template<
class Type,
class GeoMesh>
40 template<
class Type,
class GeoMesh>
51 template<
class Type,
class GeoMesh>
56 const label startIndex
59 SubField<Type>(list, subSize, startIndex)
63 template<
class Type,
class GeoMesh>
74 template<
class Type,
class GeoMesh>
85 template<
class Type,
class GeoMesh>
88 const SubDimensionedField<Type, GeoMesh>& sfield
92 SubField<Type>(sfield)
98 template<
class Type,
class GeoMesh>
102 return NullObjectRef<SubDimensionedField<Type, GeoMesh>>();
106 template<
class Type,
class GeoMesh>
124 template<
class Type,
class GeoMesh>
137 template<
class Type,
class GeoMesh>
143 dimensions() = rhs.dimensions();
148 template<
class Type,
class GeoMesh>
152 return *(
reinterpret_cast<const DimensionedField<Type, GeoMesh>*
>(
this));
A range or interval of labels defined by a start and a size.
SubDimensionedField(const SubField< Type > &sfield)
Construct from a SubField.
void operator=(const SubField< Type > &)
Copy assign via UList operator. Takes linear time.
SubField is a Field obtained as a section of another Field, without its own allocation. SubField is derived from a SubList rather than a List.
tmp< DimensionedField< Type, GeoMesh > > T() const
Return the field transpose (only defined for second rank tensors)
Generic templated field type.
SubDimensionedField is a DimensionedField obtained as a section of another DimensionedField.
static const SubDimensionedField< Type, GeoMesh > & null()
Return a null SubDimensionedField.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
tmp< DimensionedField< cmptType, GeoMesh > > component(const direction d) const
Return a component field of the field.