#include <distributed_moving.hpp>
|
| using | Vec3 = std::array< Real, 3 > |
| |
| using | Mem = typename Kokkos::DefaultExecutionSpace::memory_space |
| |
|
| void | init (std::array< Real, 3 > origin, std::array< Real, 3 > size, std::array< long, 3 > gsize, std::array< bool, 3 > periodic, Real rcut, Real skin, Real tol, MPI_Comm comm, int searchWindow=4, int densityCount=-1) |
| | One-time setup. gsize is the ORB decomposition granularity (cells per axis).
|
| |
| int | ownerOf (const Vec3 &x) const |
| |
| void | establish (const std::vector< Vec3 > &ownedPos, const std::vector< long > &ownedGid, const std::vector< Real > &ownedW) |
| |
| StepStats | step (const std::vector< Vec3 > &ownedPos) |
| | Advance to new owned positions (same ownership as establish; collective every step).
|
| |
| int | nCombined () const |
| | Combined owned+ghost count and owned count of the current tessellation.
|
| |
| int | nOwned () const |
| |
| MovingTessellation< Real, MAXP, MAXT > & | tess () |
| | The device tessellation (cells [0, nOwned) are this rank's owned cells).
|
| |
| const Kokkos::View< Real *, Mem > & | positions () const |
| |
| const std::vector< long > & | combinedGid () const |
| | Global ids of the combined (owned+ghost) seeds after the last (re)gather.
|
| |
| long | numRegathers () const |
| |
◆ Mem
template<class Real , int MAXP = 64, int MAXT = 112>
◆ Vec3
template<class Real , int MAXP = 64, int MAXT = 112>
◆ combinedGid()
template<class Real , int MAXP = 64, int MAXT = 112>
Global ids of the combined (owned+ghost) seeds after the last (re)gather.
◆ establish()
template<class Real , int MAXP = 64, int MAXT = 112>
Establish the tessellation from this rank's owned seeds (collective). Call once after init and whenever ownership changes externally (e.g. after a rebalance/migration).
◆ init()
template<class Real , int MAXP = 64, int MAXT = 112>
| void peclet::voro::mpi::DistributedMovingTessellation< Real, MAXP, MAXT >::init |
( |
std::array< Real, 3 > |
origin, |
|
|
std::array< Real, 3 > |
size, |
|
|
std::array< long, 3 > |
gsize, |
|
|
std::array< bool, 3 > |
periodic, |
|
|
Real |
rcut, |
|
|
Real |
skin, |
|
|
Real |
tol, |
|
|
MPI_Comm |
comm, |
|
|
int |
searchWindow = 4, |
|
|
int |
densityCount = -1 |
|
) |
| |
|
inline |
One-time setup. gsize is the ORB decomposition granularity (cells per axis).
◆ nCombined()
template<class Real , int MAXP = 64, int MAXT = 112>
Combined owned+ghost count and owned count of the current tessellation.
◆ nOwned()
template<class Real , int MAXP = 64, int MAXT = 112>
◆ numRegathers()
template<class Real , int MAXP = 64, int MAXT = 112>
◆ ownerOf()
template<class Real , int MAXP = 64, int MAXT = 112>
◆ positions()
template<class Real , int MAXP = 64, int MAXT = 112>
◆ step()
template<class Real , int MAXP = 64, int MAXT = 112>
Advance to new owned positions (same ownership as establish; collective every step).
◆ tess()
template<class Real , int MAXP = 64, int MAXT = 112>
The device tessellation (cells [0, nOwned) are this rank's owned cells).
The documentation for this struct was generated from the following file: