surfaceMesh Class Reference

Mesh data for surface fields. More...

Inheritance diagram for surfaceMesh:

Public Types

typedef fvMesh Mesh
 Mesh type. More...
 
typedef fvBoundaryMesh BoundaryMesh
 Boundary mesh type. More...
 
typedef faceZone Zone
 Zone type. More...
 
template<class Type >
using PatchField = fvsPatchField< Type >
 Patch field type. More...
 
template<class Type >
using FieldSource = NoFieldSource< Type >
 Field source type. More...
 

Public Member Functions

virtual ~surfaceMesh ()
 
const polyMeshpoly () const
 Return reference to polyMesh. More...
 
label size () const
 Return size (number of internal faces) More...
 
const objectRegistrydb () const
 Return fvMesh database. More...
 
const Timetime () const
 Return time. More...
 
const fvBoundaryMeshboundary () const
 Return reference to fvBoundaryMesh. More...
 
template<class Type >
tmp< DimensionedField< Type, surfaceMesh > > lookupField (const word &) const
 Lookup a dimensioned field for this geometry. More...
 
const fvMeshoperator() () const
 Return reference to fvMesh. More...
 
bool operator!= (const surfaceMesh &) const
 
bool operator== (const surfaceMesh &) const
 
template<class Type >
Foam::tmp< Foam::DimensionedField< Type, Foam::surfaceMesh > > lookupField (const word &name) const
 

Protected Member Functions

 surfaceMesh (const fvMesh &mesh)
 Construct from fvMesh. More...
 

Detailed Description

Mesh data for surface fields.

Definition at line 50 of file surfaceMesh.H.

Member Typedef Documentation

◆ Mesh

typedef fvMesh Mesh

Mesh type.

Definition at line 79 of file surfaceMesh.H.

◆ BoundaryMesh

Boundary mesh type.

Definition at line 82 of file surfaceMesh.H.

◆ Zone

typedef faceZone Zone

Zone type.

Definition at line 85 of file surfaceMesh.H.

◆ PatchField

using PatchField = fvsPatchField<Type>

Patch field type.

Definition at line 89 of file surfaceMesh.H.

◆ FieldSource

using FieldSource = NoFieldSource<Type>

Field source type.

Definition at line 93 of file surfaceMesh.H.

Constructor & Destructor Documentation

◆ surfaceMesh()

surfaceMesh ( const fvMesh mesh)
inlineexplicitprotected

Construct from fvMesh.

Definition at line 63 of file surfaceMesh.H.

◆ ~surfaceMesh()

virtual ~surfaceMesh ( )
inlinevirtual

Definition at line 72 of file surfaceMesh.H.

Member Function Documentation

◆ poly()

const Foam::polyMesh & poly ( ) const
inline

Return reference to polyMesh.

Definition at line 28 of file surfaceMeshI.H.

References fvMesh::poly().

Here is the call graph for this function:

◆ size()

Foam::label size ( ) const
inline

Return size (number of internal faces)

Definition at line 34 of file surfaceMeshI.H.

◆ db()

const Foam::objectRegistry & db ( ) const
inline

Return fvMesh database.

Definition at line 41 of file surfaceMeshI.H.

References objectRegistry::db().

Referenced by surfaceMesh::lookupField().

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

◆ time()

const Foam::Time & time ( ) const
inline

Return time.

Definition at line 47 of file surfaceMeshI.H.

References objectRegistry::time().

Here is the call graph for this function:

◆ boundary()

const Foam::fvBoundaryMesh & boundary ( ) const
inline

Return reference to fvBoundaryMesh.

Definition at line 53 of file surfaceMeshI.H.

◆ lookupField() [1/2]

tmp<DimensionedField<Type, surfaceMesh> > lookupField ( const word ) const

Lookup a dimensioned field for this geometry.

◆ operator()()

const Foam::fvMesh & operator() ( ) const
inline

Return reference to fvMesh.

Definition at line 61 of file surfaceMeshI.H.

◆ operator!=()

bool operator!= ( const surfaceMesh sm) const
inline

Definition at line 68 of file surfaceMeshI.H.

◆ operator==()

bool operator== ( const surfaceMesh sm) const
inline

Definition at line 74 of file surfaceMeshI.H.

◆ lookupField() [2/2]

Foam::tmp<Foam::DimensionedField<Type, Foam::surfaceMesh> > lookupField ( const word name) const

Definition at line 32 of file surfaceMeshTemplates.C.

References surfaceMesh::db(), and Foam::name().

Here is the call graph for this function:

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