zoltanRenumber Class Reference

Renumber using Zoltan. More...

Inheritance diagram for zoltanRenumber:
[legend]
Collaboration diagram for zoltanRenumber:
[legend]

Public Member Functions

 TypeName ("zoltan")
 Runtime type information. More...
 
 zoltanRenumber (const dictionary &dict)
 Construct given the renumber dictionary. More...
 
virtual ~zoltanRenumber ()=default
 Destructor. More...
 
virtual labelList renumber (const pointField &) const
 
virtual labelList renumber (const polyMesh &mesh, const pointField &cc) const
 
virtual labelList renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cellCentres) const
 
- Public Member Functions inherited from renumberMethod
 TypeName ("renumberMethod")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, renumberMethod, dictionary,(const dictionary &renumberDict),(renumberDict))
 
 renumberMethod (const dictionary &dict)
 Construct given the renumber dictionary. More...
 
virtual ~renumberMethod ()=default
 Destructor. More...
 
virtual labelList renumber (const pointField &) const
 
virtual labelList renumber (const polyMesh &, const pointField &) const
 
virtual labelList renumber (const labelList &cellCells, const labelList &offsets, const pointField &) const
 
virtual labelList renumber (const polyMesh &mesh, const labelList &fineToCoarse, const pointField &coarsePoints) const
 
virtual labelList renumber (const CompactListList< label > &cellCells, const pointField &cellCentres) const
 
virtual labelList renumber (const labelListList &cellCells, const pointField &cellCentres) const =0
 

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 Member Functions inherited from renumberMethod
 renumberMethod (const renumberMethod &)=delete
 No copy construct. More...
 
void operator= (const renumberMethod &)=delete
 No copy assignment. More...
 
- Protected Attributes inherited from renumberMethod
const dictionaryrenumberDict_
 

Detailed Description

Renumber using Zoltan.

Use Zoltan.

Zoltan install:

  • in your ~/.bashrc: export ZOLTAN_ARCH_DIR=\ $WM_THIRD_PARTY_DIR/platforms/linux64Gcc/Zoltan_XXX
  • unpack into $WM_THIRD_PARTY_DIR
  • cd Zoltan_XXX
  • mkdir build
  • cd build
  • export CCFLAGS="-fPIC"
  • export CXXFLAGS="-fPIC"
  • export CFLAGS="-fPIC"
  • export LDFLAGS="-shared"
  • ../configure \ –prefix=$ZOLTAN_ARCH_DIR \ –with-ccflags=-fPIC –with-cxxflags=-fPIC –with-ldflags=-shared
Source files

Source files

Definition at line 49 of file zoltanRenumber.H.

Constructor & Destructor Documentation

◆ zoltanRenumber()

zoltanRenumber ( const dictionary dict)
explicit

Construct given the renumber dictionary.

Definition at line 263 of file zoltanRenumber.C.

◆ ~zoltanRenumber()

virtual ~zoltanRenumber ( )
virtualdefault

Destructor.

References NotImplemented.

Member Function Documentation

◆ TypeName()

TypeName ( "zoltan"  )

Runtime type information.

◆ renumber() [1/4]

virtual labelList renumber ( const pointField ) const
inlinevirtual

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

This is only defined for geometric renumberMethods.

Reimplemented from renumberMethod.

Definition at line 88 of file zoltanRenumber.H.

Referenced by zoltanRenumber::renumber().

Here is the caller graph for this function:

◆ renumber() [2/4]

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

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Use the mesh connectivity (if needed)

Reimplemented from renumberMethod.

Definition at line 272 of file zoltanRenumber.C.

References args, UList< T >::begin(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, get_edge_list(), get_geom_list(), get_mesh_dim(), get_num_edges_list(), get_number_of_vertices(), get_vertex_list(), polyMesh::globalData(), Foam::Info, mesh, primitiveMesh::nCells(), globalMeshData::nTotalCells(), Foam::Pout, zoltanRenumber::renumber(), argList::size(), UList< T >::size(), and globalIndex::toGlobal().

Here is the call graph for this function:

◆ renumber() [3/4]

virtual labelList renumber ( const CompactListList< label > &  cellCells,
const pointField cellCentres 
) const
inlinevirtual

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Reimplemented from renumberMethod.

Definition at line 105 of file zoltanRenumber.H.

References NotImplemented.

◆ renumber() [4/4]

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

Return the order in which cells need to be visited (ie. from ordered back to original cell label).

Implements renumberMethod.

Definition at line 117 of file zoltanRenumber.H.

References NotImplemented.


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