Version: 9.12.0
MEDCoupling::ParaMESH Class Reference

Public Member Functions

BlockTopologygetBlockTopology () const
 
MEDCouplingPointSetgetCellMesh () const
 
MEDCouplingPointSetgetFaceMesh () const
 
const mcIdType * getGlobalNumberingCell () const
 
DataArrayIdType * getGlobalNumberingCellDA () const
 
const mcIdType * getGlobalNumberingFace () const
 
DataArrayIdType * getGlobalNumberingFaceDA () const
 
const mcIdType * getGlobalNumberingNode () const
 
DataArrayIdType * getGlobalNumberingNodeDA () const
 
TopologygetTopology () const
 
bool isStructured () const
 
 ParaMESH (MEDCouplingPointSet *mesh, const ProcessorGroup &proc_group, const std::string &name)
 
 ParaMESH (MEDCouplingPointSet *subdomain_mesh, MEDCouplingPointSet *subdomain_face, DataArrayIdType *CorrespElt_local2global, DataArrayIdType *CorrespFace_local2global, DataArrayIdType *CorrespNod_local2global, const ProcessorGroup &proc_group)
 
void release ()
 
void setCellGlobal (DataArrayIdType *cellGlobal)
 
void setNodeGlobal (DataArrayIdType *nodeGlobal)
 
virtual ~ParaMESH ()
 

Detailed Description

Parallel representation of an unstructured mesh.

This class is very specific to the requirement of parallel code computations. Two main constructors are available:

  • the most simple one, taking directly a MEDCoupling mesh object
  • the second one (for an advanced usage), which can be used to specify an explicit topology in a parallel computation.

Constructor & Destructor Documentation

◆ ParaMESH() [1/2]

MEDCoupling::ParaMESH::ParaMESH ( MEDCouplingPointSet mesh,
const ProcessorGroup proc_group,
const std::string &  name 
)

◆ ParaMESH() [2/2]

MEDCoupling::ParaMESH::ParaMESH ( MEDCouplingPointSet subdomain_mesh,
MEDCouplingPointSet subdomain_face,
DataArrayIdType *  CorrespElt_local2global,
DataArrayIdType *  CorrespFace_local2global,
DataArrayIdType *  CorrespNod_local2global,
const ProcessorGroup proc_group 
)

◆ ~ParaMESH()

MEDCoupling::ParaMESH::~ParaMESH ( )
virtual

References release().

Member Function Documentation

◆ release()

void MEDCoupling::ParaMESH::release ( )

Destructor involves MPI operations: make sure this is accessible from a proper method for Python wrapping.

Referenced by ~ParaMESH().

◆ setNodeGlobal()

void MEDCoupling::ParaMESH::setNodeGlobal ( DataArrayIdType *  nodeGlobal)

◆ setCellGlobal()

void MEDCoupling::ParaMESH::setCellGlobal ( DataArrayIdType *  cellGlobal)

◆ getTopology()

Topology* MEDCoupling::ParaMESH::getTopology ( ) const

◆ isStructured()

bool MEDCoupling::ParaMESH::isStructured ( ) const

◆ getCellMesh()

MEDCouplingPointSet* MEDCoupling::ParaMESH::getCellMesh ( ) const

◆ getFaceMesh()

MEDCouplingPointSet* MEDCoupling::ParaMESH::getFaceMesh ( ) const

◆ getBlockTopology()

BlockTopology* MEDCoupling::ParaMESH::getBlockTopology ( ) const

◆ getGlobalNumberingNodeDA()

DataArrayIdType* MEDCoupling::ParaMESH::getGlobalNumberingNodeDA ( ) const

◆ getGlobalNumberingFaceDA()

DataArrayIdType* MEDCoupling::ParaMESH::getGlobalNumberingFaceDA ( ) const

◆ getGlobalNumberingCellDA()

DataArrayIdType* MEDCoupling::ParaMESH::getGlobalNumberingCellDA ( ) const

◆ getGlobalNumberingNode()

const mcIdType* MEDCoupling::ParaMESH::getGlobalNumberingNode ( ) const

◆ getGlobalNumberingFace()

const mcIdType* MEDCoupling::ParaMESH::getGlobalNumberingFace ( ) const

◆ getGlobalNumberingCell()

const mcIdType* MEDCoupling::ParaMESH::getGlobalNumberingCell ( ) const