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 () |
Detailed Description
The SkdGlobalCellDistance class allows to define a distance between a point and a cell.
Definition at line 147 of file patch_skd_tree.hpp.
Member Function Documentation
◆ executeMPIMinOperation()
|
static |
Perform an MPI minimum operation to evaluate the minimum global distance.
- Parameters
-
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.
◆ exportData()
void bitpit::SkdGlobalCellDistance::exportData | ( | int * | rank, |
long * | id, | ||
double * | distance ) const |
Export distance information.
- Parameters
-
[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.
◆ getDistance()
double & bitpit::SkdGlobalCellDistance::getDistance | ( | ) |
Get a reference to the distance.
- Returns
- A reference to the distance.
Definition at line 946 of file patch_skd_tree.cpp.
◆ getId()
long & bitpit::SkdGlobalCellDistance::getId | ( | ) |
Get a reference to the id of the cell.
- Returns
- A reference to the id of the cell.
Definition at line 936 of file patch_skd_tree.cpp.
◆ getMPIDatatype()
|
static |
◆ getMPIMinOperation()
|
static |
Get the MPI minimum operation.
- Returns
- The MPI minimum operation.
Definition at line 882 of file patch_skd_tree.cpp.
◆ getRank()
int & bitpit::SkdGlobalCellDistance::getRank | ( | ) |
Get a reference to the rank of the cell.
- Returns
- A reference to the rank of the cell.
Definition at line 926 of file patch_skd_tree.cpp.
The documentation for this class was generated from the following files:
- src/patchkernel/patch_skd_tree.hpp
- src/patchkernel/patch_skd_tree.cpp
