Public Member Functions | |
ExplicitTopology () | |
ExplicitTopology (const ExplicitTopology &topo, int nbcomponents) | |
ExplicitTopology (const ParaMESH &mesh) | |
int | getNbComponents () const |
int | getNbElements () const |
int | getNbLocalElements () const |
const ProcessorGroup * | getProcGroup () const |
int | globalToLocal (int) const |
int | localToGlobal (const std::pair< int, int > local) const |
int | localToGlobal (int) const |
void | serialize (int *&serializer, int &size) const |
void | unserialize (const int *serializer, const CommInterface &comm_interface) |
virtual | ~ExplicitTopology () |
Public Member Functions inherited from MEDCoupling::Topology | |
Topology () | |
virtual | ~Topology () |
An ExplicitTopology typically represents the split of a mesh among the processors of a common ProcessorGroup. Each processor gets a user-defined part of the cells in the mesh.
MEDCoupling::ExplicitTopology::ExplicitTopology | ( | ) |
MEDCoupling::ExplicitTopology::ExplicitTopology | ( | const ExplicitTopology & | topo, |
int | nbcomponents | ||
) |
MEDCoupling::ExplicitTopology::ExplicitTopology | ( | const ParaMESH & | mesh | ) |
|
virtual |
|
virtual |
Retrieves the number of elements for a given topology.
Implements MEDCoupling::Topology.
|
virtual |
Implements MEDCoupling::Topology.
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology(), and MEDCoupling::ExplicitCoincidentDEC::recvData().
|
virtual |
Implements MEDCoupling::Topology.
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology(), MEDCoupling::ExplicitCoincidentDEC::prepareSourceDE(), MEDCoupling::ExplicitCoincidentDEC::prepareTargetDE(), MEDCoupling::ExplicitCoincidentDEC::synchronize(), and MEDCoupling::ExplicitCoincidentDEC::transferMappingToSource().
int MEDCoupling::ExplicitTopology::localToGlobal | ( | const std::pair< int, int > | local | ) | const |
References localToGlobal().
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology(), and localToGlobal().
int MEDCoupling::ExplicitTopology::localToGlobal | ( | int | local | ) | const |
converts local number to a global number
int MEDCoupling::ExplicitTopology::globalToLocal | ( | int | global | ) | const |
converts a pair <subdomainid,local> to a global number
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology().
void MEDCoupling::ExplicitTopology::serialize | ( | int *& | serializer, |
int & | size | ||
) | const |
Serializes the data contained in the Explicit Topology for communication purposes
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology().
void MEDCoupling::ExplicitTopology::unserialize | ( | const int * | serializer, |
const CommInterface & | comm_interface | ||
) |
Unserializes the data contained in the Explicit Topology after communication. Uses the same structure as the one used for serialize()
Referenced by MEDCoupling::ExplicitCoincidentDEC::broadcastTopology().
int MEDCoupling::ExplicitTopology::getNbComponents | ( | ) | const |