The SkdGlobalCellDistance class allows to define a distance between a point and a cell. More...
Public Member Functions | |
void | exportData (int *rank, long *id, double *distance) const |
double & | getDistance () |
long & | getId () |
int & | getRank () |
Static Public Member Functions | |
static void | executeMPIMinOperation (SkdGlobalCellDistance *in, SkdGlobalCellDistance *inout, int *len, MPI_Datatype *datatype) |
static MPI_Datatype | getMPIDatatype () |
static MPI_Op | getMPIMinOperation () |
The SkdGlobalCellDistance class allows to define a distance between a point and a cell.
Definition at line 147 of file patch_skd_tree.hpp.
|
static |
Perform an MPI minimum operation to evaluate the minimum global distance.
in | is a pointer to the input global distances | |
[in,out] | inout | is a pointer to the output global distances |
len | is the number of global distance to precess | |
datatype | is the MPI data type |
Definition at line 900 of file patch_skd_tree.cpp.
void bitpit::SkdGlobalCellDistance::exportData | ( | int * | rank, |
long * | id, | ||
double * | distance ) const |
Export distance information.
[out] | rank | on output will contain the rank of the cell |
[out] | id | on output will contain the id of the cell |
[out] | distance | on output will contain the distance |
Definition at line 958 of file patch_skd_tree.cpp.
double & bitpit::SkdGlobalCellDistance::getDistance | ( | ) |
Get a reference to the distance.
Definition at line 946 of file patch_skd_tree.cpp.
long & bitpit::SkdGlobalCellDistance::getId | ( | ) |
Get a reference to the id of the cell.
Definition at line 936 of file patch_skd_tree.cpp.
|
static |
|
static |
Get the MPI minimum operation.
Definition at line 882 of file patch_skd_tree.cpp.
int & bitpit::SkdGlobalCellDistance::getRank | ( | ) |
Get a reference to the rank of the cell.
Definition at line 926 of file patch_skd_tree.cpp.