Peano
Loading...
Searching...
No Matches
dastgen2.aspects.MPI.MPI Class Reference

Represents the MPI aspect injected into a DaStGen model. More...

Inheritance diagram for dastgen2.aspects.MPI.MPI:
Collaboration diagram for dastgen2.aspects.MPI.MPI:

Public Member Functions

 __init__ (self)
 
 get_include (self)
 
 get_attributes (self)
 
 get_method_declarations (self, full_qualified_name)
 
 get_implementation (self, full_qualified_name)
 
- Public Member Functions inherited from dastgen2.aspects.Aspect.Aspect
 set_model (self, data_model)
 Inform aspect about model.
 

Additional Inherited Members

- Protected Attributes inherited from dastgen2.aspects.Aspect.Aspect
 _data_model
 

Detailed Description

Represents the MPI aspect injected into a DaStGen model.

This object does not work with data types which host a smart pointer. In many codes, we do not know at the time when we add this aspect to a data model if the underlying data_model has a smart pointer. If so, we have to exchange the MPI aspect later on for the one supporting smart pointers. The exchange is typically done by peano4.datamodel.DaStGen2GeneratorForObjectsWithSmartPointers.

Definition at line 9 of file MPI.py.

Constructor & Destructor Documentation

◆ __init__()

dastgen2.aspects.MPI.MPI.__init__ ( self)

Reimplemented from dastgen2.aspects.Aspect.Aspect.

Definition at line 25 of file MPI.py.

Member Function Documentation

◆ get_attributes()

dastgen2.aspects.MPI.MPI.get_attributes ( self)

Reimplemented from dastgen2.aspects.Aspect.Aspect.

Definition at line 36 of file MPI.py.

◆ get_implementation()

◆ get_include()

dastgen2.aspects.MPI.MPI.get_include ( self)

Reimplemented from dastgen2.aspects.Aspect.Aspect.

Definition at line 28 of file MPI.py.

◆ get_method_declarations()

dastgen2.aspects.MPI.MPI.get_method_declarations ( self,
full_qualified_name )

Reimplemented from dastgen2.aspects.Aspect.Aspect.

Definition at line 54 of file MPI.py.


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