DimensionedFieldListSlicer< Type > Class Template Reference

Class to provide list slices to different parts of a dimensioned field. More...

Inheritance diagram for DimensionedFieldListSlicer< Type >:

Public Member Functions

 DimensionedFieldListSlicer ()
 Construct null. Set later. More...
 
template<class GeoMesh , template< class > class PrimitiveField>
 DimensionedFieldListSlicer (const UPtrList< DimensionedField< Type, GeoMesh, PrimitiveField >> &geoFields)
 Construct from a list of dimensioned fields. More...
 
template<class GeoMesh , template< class > class PrimitiveField>
 DimensionedFieldListSlicer (const UPtrList< GeometricField< Type, GeoMesh, PrimitiveField >> &geoFields)
 Construct from a list of geometric fields. More...
 
template<class GeoMesh , template< class > class PrimitiveField>
void set (const UPtrList< DimensionedField< Type, GeoMesh, PrimitiveField >> &geoFields)
 Set the field pointers. More...
 
template<class GeoMesh , template< class > class PrimitiveField>
void set (const UPtrList< GeometricField< Type, GeoMesh, PrimitiveField >> &geoFields)
 Set the field pointers. More...
 
FieldListSlice< Type > slice (const label elementi) const
 Return a slice for an internal element. More...
 

Detailed Description

template<class Type>
class Foam::DimensionedFieldListSlicer< Type >

Class to provide list slices to different parts of a dimensioned field.

See also
Foam::FieldListSlice

Definition at line 49 of file DimensionedFieldListSlicer.H.

Constructor & Destructor Documentation

◆ DimensionedFieldListSlicer() [1/3]

Construct null. Set later.

Definition at line 62 of file DimensionedFieldListSlicer.H.

◆ DimensionedFieldListSlicer() [2/3]

DimensionedFieldListSlicer ( const UPtrList< DimensionedField< Type, GeoMesh, PrimitiveField >> &  geoFields)
inline

Construct from a list of dimensioned fields.

Definition at line 67 of file DimensionedFieldListSlicer.H.

References DimensionedFieldListSlicer< Type >::set().

Here is the call graph for this function:

◆ DimensionedFieldListSlicer() [3/3]

DimensionedFieldListSlicer ( const UPtrList< GeometricField< Type, GeoMesh, PrimitiveField >> &  geoFields)
inline

Construct from a list of geometric fields.

Definition at line 78 of file DimensionedFieldListSlicer.H.

References DimensionedFieldListSlicer< Type >::set().

Here is the call graph for this function:

Member Function Documentation

◆ set() [1/2]

void set ( const UPtrList< DimensionedField< Type, GeoMesh, PrimitiveField >> &  geoFields)
inline

Set the field pointers.

Definition at line 92 of file DimensionedFieldListSlicer.H.

References forAll, UPtrList< T >::resize(), and UPtrList< T >::set().

Referenced by DimensionedFieldListSlicer< Type >::DimensionedFieldListSlicer(), and DimensionedFieldListAndSlicer< Type, GeoMesh, PrimitiveField >::set().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set() [2/2]

void set ( const UPtrList< GeometricField< Type, GeoMesh, PrimitiveField >> &  geoFields)
inline

Set the field pointers.

Definition at line 108 of file DimensionedFieldListSlicer.H.

References forAll, UPtrList< T >::resize(), and UPtrList< T >::set().

Here is the call graph for this function:

◆ slice()

FieldListSlice<Type> slice ( const label  elementi) const
inline

Return a slice for an internal element.

Definition at line 123 of file DimensionedFieldListSlicer.H.

Referenced by multicomponentLagrangianThermo::implementation::elementComposition().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: