Loading...
Searching...
No Matches
zoltanRenumber.C File Reference
Include dependency graph for zoltanRenumber.C:

Go to the source code of this file.

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define MPICH_SKIP_MPICXX
#define OMPI_SKIP_MPICXX

Functions

 defineTypeNameAndDebug (zoltanRenumber, 0)
 addToRunTimeSelectionTable (renumberMethod, zoltanRenumber, dictionary)
static int get_number_of_vertices (void *data, int *ierr)
static void get_vertex_list (void *data, int sizeGID, int sizeLID, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int wgt_dim, float *obj_wgts, int *ierr)
static void get_num_edges_list (void *data, int sizeGID, int sizeLID, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *numEdges, int *ierr)
static void get_edge_list (void *data, int sizeGID, int sizeLID, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *num_edges, ZOLTAN_ID_PTR nborGID, int *nborProc, int wgt_dim, float *ewgts, int *ierr)
static int get_mesh_dim (void *data, int *ierr)
static void get_geom_list (void *data, int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int num_dim, double *geom_vec, int *ierr)

Detailed Description

Original source file zoltanRenumber.C

Notes Renumber using 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

Definition in file zoltanRenumber.C.

Macro Definition Documentation

◆ MPICH_SKIP_MPICXX

#define MPICH_SKIP_MPICXX

Definition at line 55 of file zoltanRenumber.C.

◆ OMPI_SKIP_MPICXX

#define OMPI_SKIP_MPICXX

Definition at line 58 of file zoltanRenumber.C.

Function Documentation

◆ get_number_of_vertices()

int get_number_of_vertices ( void * data,
int * ierr )
static

Definition at line 84 of file zoltanRenumber.C.

References mesh.

Referenced by zoltanRenumber::renumber().

Here is the caller graph for this function:

◆ get_vertex_list()

void get_vertex_list ( void * data,
int sizeGID,
int sizeLID,
ZOLTAN_ID_PTR global_ids,
ZOLTAN_ID_PTR local_ids,
int wgt_dim,
float * obj_wgts,
int * ierr )
static

Definition at line 95 of file zoltanRenumber.C.

References mesh, and UPstream::myProcNo().

Referenced by zoltanRenumber::renumber().

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

◆ get_num_edges_list()

void get_num_edges_list ( void * data,
int sizeGID,
int sizeLID,
int num_obj,
ZOLTAN_ID_PTR global_ids,
ZOLTAN_ID_PTR local_ids,
int * numEdges,
int * ierr )
static

Definition at line 140 of file zoltanRenumber.C.

References mesh.

Referenced by zoltanRenumber::renumber().

Here is the caller graph for this function:

◆ get_edge_list()

void get_edge_list ( void * data,
int sizeGID,
int sizeLID,
int num_obj,
ZOLTAN_ID_PTR global_ids,
ZOLTAN_ID_PTR local_ids,
int * num_edges,
ZOLTAN_ID_PTR nborGID,
int * nborProc,
int wgt_dim,
float * ewgts,
int * ierr )
static

Definition at line 183 of file zoltanRenumber.C.

References mesh, and UPstream::myProcNo().

Referenced by zoltanRenumber::renumber().

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

◆ get_mesh_dim()

int get_mesh_dim ( void * data,
int * ierr )
static

Definition at line 260 of file zoltanRenumber.C.

References mesh.

Referenced by zoltanRenumber::renumber().

Here is the caller graph for this function:

◆ get_geom_list()

void get_geom_list ( void * data,
int num_gid_entries,
int num_lid_entries,
int num_obj,
ZOLTAN_ID_PTR global_ids,
ZOLTAN_ID_PTR local_ids,
int num_dim,
double * geom_vec,
int * ierr )
static

Definition at line 271 of file zoltanRenumber.C.

References UList< T >::cdata(), mesh, VectorSpace< Form, Cmpt, Ncmpts >::nComponents, and p.

Referenced by zoltanRenumber::renumber().

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