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


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 | |
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.
| dastgen2.aspects.MPI.MPI.__init__ | ( | self | ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
| dastgen2.aspects.MPI.MPI.get_attributes | ( | self | ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
| dastgen2.aspects.MPI.MPI.get_implementation | ( | self, | |
| full_qualified_name ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
Definition at line 141 of file MPI.py.
References dastgen2.aspects.Aspect.Aspect._data_model, dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers._data_model, exahype2.solvers.elliptic.AMRMarker.AMRMarker._data_model, and swift2.particle.Particle.Particle.SpeciesAspect._data_model.
| dastgen2.aspects.MPI.MPI.get_include | ( | self | ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
| dastgen2.aspects.MPI.MPI.get_method_declarations | ( | self, | |
| full_qualified_name ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.