Back to index

salome-med  6.5.0
Public Member Functions | Protected Attributes | Static Private Attributes
ParaMEDMEM::ProcessorGroup Class Reference

#include <ProcessorGroup.hxx>

Inheritance diagram for ParaMEDMEM::ProcessorGroup:
Inheritance graph
[legend]
Collaboration diagram for ParaMEDMEM::ProcessorGroup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 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)
virtual ~ProcessorGroup ()
virtual ProcessorGroupdeepCpy () const =0
virtual ProcessorGroupfuse (const ProcessorGroup &) const =0
virtual void intersect (ProcessorGroup &)=0
bool contains (int rank) const
virtual bool containsMyRank () const =0
int size () const
const CommInterfacegetCommInterface () const
virtual int myRank () const =0
virtual int translateRank (const ProcessorGroup *, int) const =0
virtual ProcessorGroupcreateComplementProcGroup () const =0
virtual ProcessorGroupcreateProcGroup () const =0
virtual const std::set< int > & getProcIDs () const
def __init__
def deepCpy
def fuse
def intersect
def contains
def containsMyRank
def size
def getCommInterface
def myRank
def translateRank
def createComplementProcGroup
def createProcGroup
def getProcIDs

Protected Attributes

const CommInterface _comm_interface
std::set< int > _proc_ids

Static Private Attributes

dictionary __swig_setmethods__ = {}
tuple __setattr__ = lambdaself,name,value:_swig_setattr(self, ProcessorGroup, name, value)
dictionary __swig_getmethods__ = {}
tuple __getattr__ = lambdaself,name:_swig_getattr(self, ProcessorGroup, name)
 __repr__ = _swig_repr
 __swig_destroy__ = _ParaMEDMEM.delete_ProcessorGroup
 __del__ = lambdaself:None;

Detailed Description

1

Definition at line 29 of file ProcessorGroup.hxx.


Constructor & Destructor Documentation

Definition at line 33 of file ProcessorGroup.hxx.

ParaMEDMEM::ProcessorGroup::ProcessorGroup ( const CommInterface interface,
std::set< int >  proc_ids 
) [inline]

Definition at line 34 of file ProcessorGroup.hxx.

ParaMEDMEM::ProcessorGroup::ProcessorGroup ( const ProcessorGroup proc_group,
std::set< int >  proc_ids 
) [inline]

Definition at line 36 of file ProcessorGroup.hxx.

                                                                           :
      _comm_interface(proc_group.getCommInterface()),_proc_ids(proc_ids) { }

Definition at line 38 of file ProcessorGroup.hxx.

                                                :
      _comm_interface(other.getCommInterface()),_proc_ids(other._proc_ids) { }
ParaMEDMEM::ProcessorGroup::ProcessorGroup ( const CommInterface interface,
int  start,
int  end 
)

Definition at line 25 of file ProcessorGroup.cxx.

                                                                                   :_comm_interface(interface)
  {
    if (start>end)
      throw INTERP_KERNEL::Exception("wrong call to Processor group constructor");
    for (int i=start; i<=end;i++)
      _proc_ids.insert(i);
  }
virtual ParaMEDMEM::ProcessorGroup::~ProcessorGroup ( ) [inline, virtual]

Definition at line 41 of file ProcessorGroup.hxx.

{ }
def ParaMEDMEM.ProcessorGroup.__init__ (   self,
  args,
  kwargs 
)

Definition at line 14779 of file ParaMEDMEM.py.

14779 
    def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")

Member Function Documentation

bool ParaMEDMEM::ProcessorGroup::contains ( int  rank) const [inline]

Definition at line 45 of file ProcessorGroup.hxx.

{ return _proc_ids.find(rank)!=_proc_ids.end(); }

Here is the caller graph for this function:

def ParaMEDMEM.ProcessorGroup.contains (   self,
  args 
)
contains(self, int rank) -> bool

1

Definition at line 14807 of file ParaMEDMEM.py.

14807 
14808     def contains(self, *args):
14809         """
14810         contains(self, int rank) -> bool
14811 
14812         1
14813         """
14814         return _ParaMEDMEM.ProcessorGroup_contains(self, *args)

Here is the call graph for this function:

virtual bool ParaMEDMEM::ProcessorGroup::containsMyRank ( ) const [pure virtual]

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

containsMyRank(self) -> bool

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14815 of file ParaMEDMEM.py.

14815 
14816     def containsMyRank(self):
14817         """
14818         containsMyRank(self) -> bool
14819 
14820         1
14821         """
14822         return _ParaMEDMEM.ProcessorGroup_containsMyRank(self)

Here is the call graph for this function:

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

createComplementProcGroup(self) -> ProcessorGroup

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14855 of file ParaMEDMEM.py.

14855 
14856     def createComplementProcGroup(self):
14857         """
14858         createComplementProcGroup(self) -> ProcessorGroup
14859 
14860         1
14861         """
14862         return _ParaMEDMEM.ProcessorGroup_createComplementProcGroup(self)

Here is the call graph for this function:

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

createProcGroup(self) -> ProcessorGroup

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14863 of file ParaMEDMEM.py.

14863 
14864     def createProcGroup(self):
14865         """
14866         createProcGroup(self) -> ProcessorGroup
14867 
14868         1
14869         """
14870         return _ParaMEDMEM.ProcessorGroup_createProcGroup(self)

Here is the call graph for this function:

virtual ProcessorGroup* ParaMEDMEM::ProcessorGroup::deepCpy ( ) const [pure virtual]

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

deepCpy(self) -> ProcessorGroup

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14783 of file ParaMEDMEM.py.

14783 
14784     def deepCpy(self):
14785         """
14786         deepCpy(self) -> ProcessorGroup
14787 
14788         1
14789         """
14790         return _ParaMEDMEM.ProcessorGroup_deepCpy(self)

Here is the call graph for this function:

virtual ProcessorGroup* ParaMEDMEM::ProcessorGroup::fuse ( const ProcessorGroup ) const [pure virtual]

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

def ParaMEDMEM.ProcessorGroup.fuse (   self,
  args 
)
fuse(self, ProcessorGroup arg0) -> ProcessorGroup

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14791 of file ParaMEDMEM.py.

14791 
14792     def fuse(self, *args):
14793         """
14794         fuse(self, ProcessorGroup arg0) -> ProcessorGroup
14795 
14796         1
14797         """
14798         return _ParaMEDMEM.ProcessorGroup_fuse(self, *args)

Here is the call graph for this function:

Definition at line 48 of file ProcessorGroup.hxx.

{ return _comm_interface; }

Here is the caller graph for this function:

getCommInterface(self) -> CommInterface

1

Definition at line 14831 of file ParaMEDMEM.py.

14831 
14832     def getCommInterface(self):
14833         """
14834         getCommInterface(self) -> CommInterface
14835 
14836         1
14837         """
14838         return _ParaMEDMEM.ProcessorGroup_getCommInterface(self)

Here is the call graph for this function:

virtual const std::set<int>& ParaMEDMEM::ProcessorGroup::getProcIDs ( ) const [inline, virtual]

Definition at line 53 of file ProcessorGroup.hxx.

{ return _proc_ids; } 

Here is the caller graph for this function:

getProcIDs(self) -> __dummy_0__

1

Definition at line 14871 of file ParaMEDMEM.py.

14871 
14872     def getProcIDs(self):
14873         """
14874         getProcIDs(self) -> __dummy_0__
14875 
14876         1
14877         """
14878         return _ParaMEDMEM.ProcessorGroup_getProcIDs(self)

Here is the call graph for this function:

virtual void ParaMEDMEM::ProcessorGroup::intersect ( ProcessorGroup ) [pure virtual]

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

def ParaMEDMEM.ProcessorGroup.intersect (   self,
  args 
)
intersect(self, ProcessorGroup arg0)

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14799 of file ParaMEDMEM.py.

14799 
14800     def intersect(self, *args):
14801         """
14802         intersect(self, ProcessorGroup arg0)
14803 
14804         1
14805         """
14806         return _ParaMEDMEM.ProcessorGroup_intersect(self, *args)

Here is the call graph for this function:

virtual int ParaMEDMEM::ProcessorGroup::myRank ( ) const [pure virtual]

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

myRank(self) -> int

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14839 of file ParaMEDMEM.py.

14839 
14840     def myRank(self):
14841         """
14842         myRank(self) -> int
14843 
14844         1
14845         """
14846         return _ParaMEDMEM.ProcessorGroup_myRank(self)

Here is the call graph for this function:

int ParaMEDMEM::ProcessorGroup::size ( ) const [inline]

Definition at line 47 of file ProcessorGroup.hxx.

{ return _proc_ids.size(); }

Here is the caller graph for this function:

size(self) -> int

1

Definition at line 14823 of file ParaMEDMEM.py.

14823 
14824     def size(self):
14825         """
14826         size(self) -> int
14827 
14828         1
14829         """
14830         return _ParaMEDMEM.ProcessorGroup_size(self)

Here is the call graph for this function:

virtual int ParaMEDMEM::ProcessorGroup::translateRank ( const ProcessorGroup ,
int   
) const [pure virtual]

Implemented in ParaMEDMEM::MPIProcessorGroup.

Here is the caller graph for this function:

def ParaMEDMEM.ProcessorGroup.translateRank (   self,
  args 
)
translateRank(self, ProcessorGroup arg0, int arg1) -> int

1

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14847 of file ParaMEDMEM.py.

14847 
14848     def translateRank(self, *args):
14849         """
14850         translateRank(self, ProcessorGroup arg0, int arg1) -> int
14851 
14852         1
14853         """
14854         return _ParaMEDMEM.ProcessorGroup_translateRank(self, *args)

Here is the call graph for this function:


Member Data Documentation

ParaMEDMEM.ProcessorGroup.__del__ = lambdaself:None; [static, private]

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14782 of file ParaMEDMEM.py.

tuple ParaMEDMEM.ProcessorGroup.__getattr__ = lambdaself,name:_swig_getattr(self, ProcessorGroup, name) [static, private]

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14778 of file ParaMEDMEM.py.

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14780 of file ParaMEDMEM.py.

tuple ParaMEDMEM.ProcessorGroup.__setattr__ = lambdaself,name,value:_swig_setattr(self, ProcessorGroup, name, value) [static, private]

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14776 of file ParaMEDMEM.py.

ParaMEDMEM.ProcessorGroup.__swig_destroy__ = _ParaMEDMEM.delete_ProcessorGroup [static, private]

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14781 of file ParaMEDMEM.py.

dictionary ParaMEDMEM.ProcessorGroup.__swig_getmethods__ = {} [static, private]

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14777 of file ParaMEDMEM.py.

dictionary ParaMEDMEM.ProcessorGroup.__swig_setmethods__ = {} [static, private]

Reimplemented in ParaMEDMEM::MPIProcessorGroup.

Definition at line 14775 of file ParaMEDMEM.py.

Definition at line 55 of file ProcessorGroup.hxx.

std::set<int> ParaMEDMEM::ProcessorGroup::_proc_ids [protected]

Definition at line 56 of file ProcessorGroup.hxx.


The documentation for this class was generated from the following files: