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 get_vertex_list(), points, and List< T >::size().

Referenced by get_edge_list().

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

◆ 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 70 of file zoltanDecomp.C.

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

Referenced by get_edge_list(), and get_number_of_vertices().

Here is the call graph for this function:
Here is the caller 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.

References get_geom_list().

Referenced by get_edge_list().

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

◆ 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 125 of file zoltanDecomp.C.

References get_num_edges_list(), VectorSpace< Vector< scalar >, scalar, 3 >::nComponents, nPoints, p, points, List< T >::size(), and Foam::vertices().

Referenced by get_edge_list(), and get_mesh_dim().

Here is the call graph for this function:
Here is the caller 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 169 of file zoltanDecomp.C.

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

Referenced by get_edge_list(), and get_geom_list().

Here is the call graph for this function:
Here is the caller 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