OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > Class Template Reference

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

Inheritance diagram for SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >:
Collaboration diagram for SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >:

List of all members.


Classes

class  DimensionedInternalField
 The internalField of a SlicedGeometricField. More...

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)
 Construct from components and field to slice.
 SlicedGeometricField (const IOobject &, const Mesh &, const dimensionSet &, const Field< Type > &completeIField, const Field< Type > &completeBField, const bool preserveCouples=true)
 Construct from components and separate fields to slice for the.
 SlicedGeometricField (const IOobject &, const GeometricField< Type, PatchField, GeoMesh > &, const bool preserveCouples=true)
 Construct from GeometricField. Reuses full internal and.
 SlicedGeometricField (const SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > &)
 Construct as copy.
 ~SlicedGeometricField ()
void correctBoundaryConditions ()
 Correct boundary field.
template<>
void correctBoundaryConditions ()
 Correct boundary field.
template<>
void correctBoundaryConditions ()
 Correct boundary field.
template<>
void correctBoundaryConditions ()
 Correct boundary field.
template<>
void correctBoundaryConditions ()
 Correct boundary field.
template<>
void correctBoundaryConditions ()
 Correct boundary field.

Detailed Description

template<class Type, template< class > class PatchField, template< class > class SlicedPatchField, class GeoMesh>
class Foam::SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >

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 59 of file SlicedGeometricField.H.


Member Typedef Documentation

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 65 of file SlicedGeometricField.H.


Constructor & Destructor Documentation

SlicedGeometricField ( const IOobject io,
const Mesh mesh,
const dimensionSet ds,
const Field< Type > &  completeField,
const bool  preserveCouples = true 
) [inline]

Construct from components and field to slice.

Definition at line 196 of file SlicedGeometricField.C.

References SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::correctBoundaryConditions().

Here is the call graph for this function:

SlicedGeometricField ( const IOobject io,
const Mesh mesh,
const dimensionSet ds,
const Field< Type > &  completeIField,
const Field< Type > &  completeBField,
const bool  preserveCouples = true 
) [inline]

Construct from components and separate fields to slice for the.

internal field and boundary field

Definition at line 232 of file SlicedGeometricField.C.

References SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::correctBoundaryConditions().

Here is the call graph for this function:

SlicedGeometricField ( const IOobject io,
const GeometricField< Type, PatchField, GeoMesh > &  gf,
const bool  preserveCouples = true 
) [inline]

Construct from GeometricField. Reuses full internal and.

patch fields except on couples (preserveCouples=true).

Definition at line 269 of file SlicedGeometricField.C.

References SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::correctBoundaryConditions(), and GeometricField< Type, PatchField, GeoMesh >::internalField().

Here is the call graph for this function:

SlicedGeometricField ( const SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh > &  gf  )  [inline]

Construct as copy.

Definition at line 300 of file SlicedGeometricField.C.

References GeometricField< Type, PatchField, GeoMesh >::internalField().

Here is the call graph for this function:

~SlicedGeometricField (  )  [inline]

Definition at line 328 of file SlicedGeometricField.C.


Member Function Documentation

void correctBoundaryConditions (  )  [inline]

Correct boundary field.

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 362 of file SlicedGeometricField.C.

Referenced by SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField().

Here is the caller graph for this function:

void correctBoundaryConditions (  )  [inline]

Correct boundary field.

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 39 of file slicedSurfaceFields.H.

void correctBoundaryConditions (  )  [inline]

Correct boundary field.

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 45 of file slicedSurfaceFields.H.

void correctBoundaryConditions (  )  [inline]

Correct boundary field.

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 51 of file slicedSurfaceFields.H.

void correctBoundaryConditions (  )  [inline]

Correct boundary field.

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 57 of file slicedSurfaceFields.H.

void correctBoundaryConditions (  )  [inline]

Correct boundary field.

Reimplemented from GeometricField< Type, PatchField, GeoMesh >.

Definition at line 63 of file slicedSurfaceFields.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd