class
#include <src/Transfer/Transfer.hpp>
Transfer ...
Constructors, destructors, conversion operators
Public functions
- void addMesh(CkArrayID p, int nchare, CkCallback cb)
- Register a mesh to be part of mesh-to-mesh transfer.
- void setMesh(CkArrayID p, const MeshData& d)
- ...
- void setSourceTets(CkArrayID p, int chare, const std::vector<std::size_t>& inpoel, const std::array<std::vector<double>, 3>& coord, const tk::Fields& u, const std::vector<double>& flag, bool dir, CkCallback cb)
- Configure source mesh.
- void setDestPoints(CkArrayID p, int chare, const std::array<std::vector<double>, 3>& coord, tk::Fields& u, std::vector<double>& flag, bool trflag, bool dir, CkCallback cb)
- Configure destination mesh.
- void distributeCollisions(int nColl, Collision* colls)
- ...
Function documentation
void transfer:: Transfer:: addMesh(CkArrayID p,
int nchare,
CkCallback cb)
Register a mesh to be part of mesh-to-mesh transfer.
Parameters | |
---|---|
p in | Charm++ host proxy participating in mesh-to-mesh transfer |
nchare in | Number of mesh partitions |
cb in | Callback to continue with once finished |
void transfer:: Transfer:: setSourceTets(CkArrayID p,
int chare,
const std::vector<std::size_t>& inpoel,
const std::array<std::vector<double>, 3>& coord,
const tk::Fields& u,
const std::vector<double>& flag,
bool dir,
CkCallback cb)
Configure source mesh.
Parameters | |
---|---|
p | |
chare | |
inpoel in | Source mesh connectivity |
coord in | Source mesh node coordinates |
u in | Source solution data |
flag in | Transfer flags |
dir in | Transfer direction: 0: bg to overset, 1: overset to bg |
cb in | Callback to continue with once finished |
void transfer:: Transfer:: setDestPoints(CkArrayID p,
int chare,
const std::array<std::vector<double>, 3>& coord,
tk::Fields& u,
std::vector<double>& flag,
bool trflag,
bool dir,
CkCallback cb)
Configure destination mesh.
Parameters | |
---|---|
p | |
chare | |
coord in | Pointer to the coordinate data for the destination mesh |
u in/out | Pointer to the solution data for the destination mesh |
flag in/out | Transfer flags |
trflag in | Transfer flags if true |
dir in | Transfer direction: 0: bg to overset, 1: overset to bg |
cb in | Callback to continue with once finished |
void transfer:: Transfer:: distributeCollisions(int nColl,
Collision* colls)
...
Parameters | |
---|---|
nColl in | Number of potential collisions found |
colls in | The list of potential collisions |