inciter::CharmMesh class

CharmMesh chare array holding part of a mesh.

Constructors, destructors, conversion operators

CharmMesh(const std::vector<std::size_t>& inpoel, const tk::UnsMesh::Coords& coord, const tk::Fields& u, int nchare) explicit
Constructor.

Public functions

void transferSource()
Pass source mesh to transfer library.
void transferDest()
Pass destination mesh to transfer library.
void solutionFound()
Mesh transfer complete.

Charm++ pack/unpack serializer member functions

void pup(PUP::er& p) override
Pack/Unpack serialize member function.
void operator|(PUP::er& p, CharmMesh& m)
Pack/Unpack serialize operator|.

Function documentation

inciter::CharmMesh::CharmMesh(const std::vector<std::size_t>& inpoel, const tk::UnsMesh::Coords& coord, const tk::Fields& u, int nchare) explicit

Constructor.

Parameters
inpoel in Vector of mesh element connectivity owned (local IDs)
coord in Coordinates of mesh nodes
in Solution vector to transfer
nchare in Number of chares in chare array

void inciter::CharmMesh::pup(PUP::er& p) override

Pack/Unpack serialize member function.

Parameters
in/out Charm++'s PUP::er serializer object reference

void inciter::CharmMesh::operator|(PUP::er& p, CharmMesh& m)

Pack/Unpack serialize operator|.

Parameters
in/out Charm++'s PUP::er serializer object reference
in/out CharmMesh object reference