faGlobalMeshData Class Reference

Various mesh related information for a parallel run. More...

Public Member Functions

 ClassName ("faGlobalMeshData")
 Runtime type information. More...
 
 faGlobalMeshData (const faMesh &mesh)
 Construct from mesh. More...
 
 ~faGlobalMeshData ()
 Destructor. More...
 
const faMeshmesh () const noexcept
 Return mesh reference. More...
 
const processorTopologytopology () const noexcept
 The processor to processor topology. More...
 
const lduSchedulepatchSchedule () const noexcept
 
label nGlobalPoints () const noexcept
 Return number of globally shared points. More...
 
const labelListsharedPointLabels () const noexcept
 Return indices of local points that are globally shared. More...
 
const labelListsharedPointAddr () const noexcept
 Return addressing into the complete globally shared points list. More...
 
void updateMesh ()
 Change global mesh data given a topological change. More...
 

Detailed Description

Various mesh related information for a parallel run.

Author Zeljko Tukovic, FMENA Hrvoje Jasak, Wikki Ltd.

Definition at line 55 of file faGlobalMeshData.H.

Constructor & Destructor Documentation

◆ faGlobalMeshData()

faGlobalMeshData ( const faMesh mesh)
explicit

Construct from mesh.

Definition at line 40 of file faGlobalMeshData.C.

References Foam::New(), and faGlobalMeshData::updateMesh().

Here is the call graph for this function:

◆ ~faGlobalMeshData()

Destructor.

Definition at line 62 of file faGlobalMeshData.C.

Member Function Documentation

◆ ClassName()

ClassName ( "faGlobalMeshData"  )

Runtime type information.

◆ mesh()

const Foam::faMesh & mesh ( ) const
noexcept

Return mesh reference.

Definition at line 68 of file faGlobalMeshData.C.

◆ topology()

const processorTopology & topology ( ) const
inlinenoexcept

The processor to processor topology.

Definition at line 115 of file faGlobalMeshData.H.

◆ patchSchedule()

const lduSchedule & patchSchedule ( ) const
inlinenoexcept

Order in which the patches should be initialised/evaluated corresponding to the schedule

Definition at line 122 of file faGlobalMeshData.H.

References processorTopology::patchSchedule().

Here is the call graph for this function:

◆ nGlobalPoints()

label nGlobalPoints ( ) const
inlinenoexcept

Return number of globally shared points.

Definition at line 131 of file faGlobalMeshData.H.

◆ sharedPointLabels()

const labelList & sharedPointLabels ( ) const
inlinenoexcept

Return indices of local points that are globally shared.

Definition at line 137 of file faGlobalMeshData.H.

◆ sharedPointAddr()

const labelList & sharedPointAddr ( ) const
inlinenoexcept

Return addressing into the complete globally shared points list.

Definition at line 143 of file faGlobalMeshData.H.

◆ updateMesh()

void updateMesh ( )

Change global mesh data given a topological change.

Definition at line 74 of file faGlobalMeshData.C.

References Pstream::combineAllGather(), UList< T >::find(), forAll, HashTable< T, Key, Hash >::found(), HashSet< Key, Hash >::insert(), faPatch::pointLabels(), List< T >::setSize(), UList< T >::size(), HashTable< T, Key, Hash >::toc(), and Foam::Zero.

Referenced by faGlobalMeshData::faGlobalMeshData().

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

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