zoltanDecomp.C File Reference
Include dependency graph for zoltanDecomp.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

 defineTypeNameAndDebug (zoltanDecomp, 0)
 
 addToRunTimeSelectionTable (decompositionMethod, zoltanDecomp, distributor)
 
static int get_number_of_vertices (void *data, int *ierr)
 
static void get_vertex_list (void *data, int nGID, int nLID, ZOLTAN_ID_PTR globalIDs, ZOLTAN_ID_PTR localIDs, int wgt_dim, float *obj_wgts, int *ierr)
 
static int get_mesh_dim (void *data, int *ierr)
 
static void get_geom_list (void *data, int nGID, int nLID, int nPoints, ZOLTAN_ID_PTR globalIDs, ZOLTAN_ID_PTR localIDs, int nDim, double *vertices, int *ierr)
 
static void get_num_edges_list (void *data, int nGID, int nLID, int nPoints, ZOLTAN_ID_PTR globalIDs, ZOLTAN_ID_PTR localIDs, int *numEdges, int *ierr)
 
static void get_edge_list (void *data, int nGID, int nLID, int nPoints, ZOLTAN_ID_PTR globalIDs, ZOLTAN_ID_PTR localIDs, int *num_edges, ZOLTAN_ID_PTR nborGID, int *nborProc, int wgt_dim, float *ewgts, int *ierr)
 

Detailed Description

Original source file zoltanDecomp.C

Definition in file zoltanDecomp.C.

Function Documentation

◆ get_number_of_vertices()

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

Definition at line 58 of file zoltanDecomp.C.

References points.

◆ get_vertex_list()

static void get_vertex_list ( void *  data,
int  nGID,
int  nLID,
ZOLTAN_ID_PTR  globalIDs,
ZOLTAN_ID_PTR  localIDs,
int  wgt_dim,
float *  obj_wgts,
int *  ierr 
)
static

Definition at line 69 of file zoltanDecomp.C.

References Tuple2< Type1, Type2 >::first(), points, Tuple2< Type1, Type2 >::second(), List< T >::size(), and globalIndex::toGlobal().

Here is the call graph for this function:

◆ get_mesh_dim()

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

Definition at line 118 of file zoltanDecomp.C.

◆ get_geom_list()

static void get_geom_list ( void *  data,
int  nGID,
int  nLID,
int  nPoints,
ZOLTAN_ID_PTR  globalIDs,
ZOLTAN_ID_PTR  localIDs,
int  nDim,
double *  vertices,
int *  ierr 
)
static

Definition at line 124 of file zoltanDecomp.C.

References VectorSpace< Form, Cmpt, Ncmpts >::nComponents, nPoints, p, points, and Foam::vertices().

Here is the call graph for this function:

◆ get_num_edges_list()

static void get_num_edges_list ( void *  data,
int  nGID,
int  nLID,
int  nPoints,
ZOLTAN_ID_PTR  globalIDs,
ZOLTAN_ID_PTR  localIDs,
int *  numEdges,
int *  ierr 
)
static

Definition at line 168 of file zoltanDecomp.C.

References nPoints, UCompactListList< T >::size(), and UCompactListList< T >::sizes().

Here is the call graph for this function:

◆ get_edge_list()

static void get_edge_list ( void *  data,
int  nGID,
int  nLID,
int  nPoints,
ZOLTAN_ID_PTR  globalIDs,
ZOLTAN_ID_PTR  localIDs,
int *  num_edges,
ZOLTAN_ID_PTR  nborGID,
int *  nborProc,
int  wgt_dim,
float *  ewgts,
int *  ierr 
)
static

Definition at line 200 of file zoltanDecomp.C.

References forAll, UCompactListList< T >::m(), nPoints, and globalIndex::whichProcID().

Here is the call graph for this function: