Classes | Public Types | Public Member Functions | List of all members
SlicedGeometricField Class Reference

Specialization of GeometricField which holds slices of given complete fields in a form that they act as a GeometricField. More...

Classes

class  Internal
 

Public Types

typedef GeoMesh::Mesh Mesh
 
typedef GeoMesh::BoundaryMesh BoundaryMesh
 

Public Member Functions

 SlicedGeometricField (const IOobject &, const Mesh &, const dimensionSet &, const Field< Type > &completeField, const bool preserveCouples=true)
 
 SlicedGeometricField (const IOobject &, const Mesh &, const dimensionSet &, const Field< Type > &completeIField, const Field< Type > &completeBField, const bool preserveCouples=true, const bool preserveProcessorOnly=false)
 
 SlicedGeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const bool preserveCouples=true)
 
 SlicedGeometricField (const SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > &)
 
tmp< SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > > clone () const
 
 ~SlicedGeometricField ()
 
void correctBoundaryConditions ()
 
void correctBoundaryConditions ()
 
void correctBoundaryConditions ()
 
void correctBoundaryConditions ()
 
void correctBoundaryConditions ()
 
void correctBoundaryConditions ()
 

Detailed Description

Specialization of GeometricField which holds slices of given complete fields in a form that they act as a GeometricField.

The destructor is wrapped to avoid deallocation of the storage of the complete fields when this is destroyed.

SlicedGeometricField can only be instantiated with a valid form of SlicedPatchField to handle the slicing and storage deallocation of the boundary field.

Source files

Definition at line 51 of file slicedSurfaceFieldsFwd.H.

Member Typedef Documentation

◆ Mesh

Definition at line 67 of file SlicedGeometricField.H.

◆ BoundaryMesh

Definition at line 68 of file SlicedGeometricField.H.

Constructor & Destructor Documentation

◆ SlicedGeometricField() [1/4]

SlicedGeometricField ( const IOobject ,
const Mesh ,
const dimensionSet ,
const Field< Type > &  completeField,
const bool  preserveCouples = true 
)

◆ SlicedGeometricField() [2/4]

SlicedGeometricField ( const IOobject ,
const Mesh ,
const dimensionSet ,
const Field< Type > &  completeIField,
const Field< Type > &  completeBField,
const bool  preserveCouples = true,
const bool  preserveProcessorOnly = false 
)

◆ SlicedGeometricField() [3/4]

SlicedGeometricField ( const IOobject ,
const GeometricField< Type, PatchField, GeoMesh > &  ,
const bool  preserveCouples = true 
)

◆ SlicedGeometricField() [4/4]

SlicedGeometricField ( const SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > &  )

◆ ~SlicedGeometricField()

Definition at line 373 of file SlicedGeometricField.C.

References UList::shallowCopy().

Here is the call graph for this function:

Member Function Documentation

◆ clone()

tmp<SlicedGeometricField<Type, PatchField, SlicedPatchField, GeoMesh> > clone ( ) const

◆ correctBoundaryConditions() [1/6]

void correctBoundaryConditions ( )

◆ correctBoundaryConditions() [2/6]

void correctBoundaryConditions ( )
inline

Definition at line 42 of file slicedSurfaceFields.H.

◆ correctBoundaryConditions() [3/6]

void correctBoundaryConditions ( )
inline

Definition at line 48 of file slicedSurfaceFields.H.

◆ correctBoundaryConditions() [4/6]

void correctBoundaryConditions ( )
inline

Definition at line 60 of file slicedSurfaceFields.H.

◆ correctBoundaryConditions() [5/6]

void correctBoundaryConditions ( )
inline

Definition at line 72 of file slicedSurfaceFields.H.

◆ correctBoundaryConditions() [6/6]

void correctBoundaryConditions ( )
inline

Definition at line 78 of file slicedSurfaceFields.H.


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