zoltanRenumber Class Reference

Use Zoltan for renumbering a case in parallel. More...

Inheritance diagram for zoltanRenumber:
Collaboration diagram for zoltanRenumber:

Public Member Functions

 TypeName ("zoltan")
 Runtime type information. More...
 
 zoltanRenumber (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
 zoltanRenumber (const zoltanRenumber &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~zoltanRenumber ()
 Destructor. More...
 
virtual labelList renumber (const pointField &) const
 Return the order in which cells need to be visited, i.e. More...
 
virtual labelList renumber (const polyMesh &mesh, const pointField &cc) const
 Return the order in which cells need to be visited, i.e. More...
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cc) const
 Return the order in which cells need to be visited, i.e. More...
 
void operator= (const zoltanRenumber &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from renumberMethod
 TypeName ("renumberMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict))
 
 renumberMethod (const dictionary &renumberDict)
 Construct given the renumber dictionary. More...
 
 renumberMethod (const renumberMethod &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~renumberMethod ()
 Destructor. More...
 
virtual labelList renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const
 Return the order in which cells need to be visited, i.e. More...
 
virtual labelList renumber (const polyMesh &mesh, const labelList &cellToRegion, const pointField &regionPoints) const
 Return the order in which cells need to be visited, i.e. More...
 
void operator= (const renumberMethod &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from renumberMethod
static autoPtr< renumberMethodNew (const dictionary &renumberDict)
 Return a reference to the selected renumbering method. More...
 
- Protected Attributes inherited from renumberMethod
const dictionaryrenumberDict_
 

Detailed Description

Use Zoltan for renumbering a case in parallel.

Note: Zoltan methods do not support serial operation.

Usage
To select the Zoltan Hilbert space filling curves renumber method add the following entries to renumberMeshDict:

method zoltan; libs ("libzoltanRenumber.so");

Source files

Definition at line 55 of file zoltanRenumber.H.

Constructor & Destructor Documentation

◆ zoltanRenumber() [1/2]

zoltanRenumber ( const dictionary renumberDict)

Construct given the renumber dictionary.

Definition at line 152 of file zoltanRenumber.C.

◆ zoltanRenumber() [2/2]

zoltanRenumber ( const zoltanRenumber )
delete

Disallow default bitwise copy construction.

◆ ~zoltanRenumber()

virtual ~zoltanRenumber ( )
inlinevirtual

Destructor.

Definition at line 80 of file zoltanRenumber.H.

Member Function Documentation

◆ TypeName()

TypeName ( "zoltan"  )

Runtime type information.

◆ renumber() [1/3]

virtual labelList renumber ( const pointField ) const
inlinevirtual

Return the order in which cells need to be visited, i.e.

from ordered back to original cell label. This is only defined for geometric renumberMethods.

Reimplemented from renumberMethod.

Definition at line 89 of file zoltanRenumber.H.

◆ renumber() [2/3]

Foam::labelList renumber ( const polyMesh mesh,
const pointField cc 
) const
virtual

Return the order in which cells need to be visited, i.e.

from ordered back to original cell label. Use the mesh connectivity (if needed)

Reimplemented from renumberMethod.

Definition at line 160 of file zoltanRenumber.C.

References args, UList< T >::begin(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, forAllConstIter, get_geom_list(), get_mesh_dim(), get_number_of_vertices(), get_vertex_list(), Foam::Info, meshPtr, Foam::PstreamGlobals::MPI_COMM_FOAM, primitiveMesh::nCells(), Foam::order(), argList::size(), List< T >::size(), globalIndex::toGlobal(), and globalIndex::toLocal().

Here is the call graph for this function:

◆ renumber() [3/3]

virtual labelList renumber ( const labelListList cellCells,
const pointField cc 
) const
inlinevirtual

Return the order in which cells need to be visited, i.e.

from ordered back to original cell label. The connectivity is equal to mesh.cellCells() except

  • the connections are across coupled patches

Implements renumberMethod.

Definition at line 108 of file zoltanRenumber.H.

◆ operator=()

void operator= ( const zoltanRenumber )
delete

Disallow default bitwise assignment.


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