Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::ProcessorGroup Class Referenceabstract
Inheritance diagram for MEDCoupling::ProcessorGroup:
Collaboration diagram for MEDCoupling::ProcessorGroup:

Public Member Functions

bool contains (int rank) const
 
virtual bool containsMyRank () const =0
 
virtual ProcessorGroupcreateComplementProcGroup () const =0
 
virtual ProcessorGroupcreateProcGroup () const =0
 
virtual ProcessorGroupdeepCopy () const =0
 
virtual ProcessorGroupfuse (const ProcessorGroup &) const =0
 
const CommInterfacegetCommInterface () const
 
virtual const std::set< int > & getProcIDs () const
 
virtual void intersect (ProcessorGroup &)=0
 
virtual int myRank () const =0
 
 ProcessorGroup (const CommInterface &interface)
 
 ProcessorGroup (const CommInterface &interface, std::set< int > proc_ids)
 
 ProcessorGroup (const ProcessorGroup &proc_group, std::set< int > proc_ids)
 
 ProcessorGroup (const ProcessorGroup &other)
 
 ProcessorGroup (const CommInterface &interface, int start, int end)
 
int size () const
 
virtual int translateRank (const ProcessorGroup *, int) const =0
 
virtual ~ProcessorGroup ()
 

Protected Attributes

const CommInterface _comm_interface
 
std::set< int > _proc_ids
 

Detailed Description

Abstract class defining a group of processors (computation nodes) in a parallel run of a code.

See the non-abstract child MPIProcessorGroup

Constructor & Destructor Documentation

MEDCoupling::ProcessorGroup::ProcessorGroup ( const CommInterface interface)
MEDCoupling::ProcessorGroup::ProcessorGroup ( const CommInterface interface,
std::set< int >  proc_ids 
)
MEDCoupling::ProcessorGroup::ProcessorGroup ( const ProcessorGroup proc_group,
std::set< int >  proc_ids 
)
MEDCoupling::ProcessorGroup::ProcessorGroup ( const ProcessorGroup other)
MEDCoupling::ProcessorGroup::ProcessorGroup ( const CommInterface interface,
int  start,
int  end 
)

References _proc_ids.

virtual MEDCoupling::ProcessorGroup::~ProcessorGroup ( )
virtual

Member Function Documentation

virtual ProcessorGroup* MEDCoupling::ProcessorGroup::deepCopy ( ) const
pure virtual
virtual ProcessorGroup* MEDCoupling::ProcessorGroup::fuse ( const ProcessorGroup ) const
pure virtual
virtual void MEDCoupling::ProcessorGroup::intersect ( ProcessorGroup )
pure virtual
bool MEDCoupling::ProcessorGroup::contains ( int  rank) const
virtual int MEDCoupling::ProcessorGroup::translateRank ( const ProcessorGroup ,
int   
) const
pure virtual
virtual ProcessorGroup* MEDCoupling::ProcessorGroup::createComplementProcGroup ( ) const
pure virtual
virtual ProcessorGroup* MEDCoupling::ProcessorGroup::createProcGroup ( ) const
pure virtual
virtual const std::set<int>& MEDCoupling::ProcessorGroup::getProcIDs ( ) const
virtual

Member Data Documentation