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


Public Member Functions | |
| __init__ (self, data_model) | |
| This constructor has to know the underlying data model. | |
| 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. | |
Protected Attributes | |
| _data_model | |
Protected Attributes inherited from dastgen2.aspects.Aspect.Aspect | |
| _data_model | |
Represents the MPI aspect injected into a DaStGen model.
This object replaces the MPI aspect when we stream a DaStGen object onto disk. The aspect makes the object behave like a non-persistent wrapper: The very moment we issue a send or a receive, we start to hold an instance of the flattened object to which we delegate all function calls.
The routine replacing the generic MPI aspect with this one is typically peano4.api.datamodel.DaStGen2GeneratorForObjectsWithSmartPointers.
Definition at line 11 of file MPIForSmartPointers.py.
| dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.__init__ | ( | self, | |
| data_model | |||
| ) |
This constructor has to know the underlying data model.
So you have to tell it to which object you attach the aspect to.
If we replace an existing MPI aspect with an instance of this object, we can pass in aspect._data_model as argument. For peano4.api.datamodel.DaStGen2, this reads as
Reimplemented from dastgen2.aspects.Aspect.Aspect.
Definition at line 26 of file MPIForSmartPointers.py.
| dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.get_attributes | ( | self | ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
Definition at line 58 of file MPIForSmartPointers.py.
| dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.get_implementation | ( | self, | |
| full_qualified_name | |||
| ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
Definition at line 116 of file MPIForSmartPointers.py.
References solvers.elliptic.AMRMarker.AMRMarker._data_model, dastgen2.aspects.Aspect.Aspect._data_model, dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers._data_model, exaparty.api.particle.Particle.Particle.SpeciesAspect._data_model, and peano4.api.datamodel.DaStGen2.DaStGen2Artefact._data_model.
| dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.get_include | ( | self | ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
Definition at line 47 of file MPIForSmartPointers.py.
References solvers.elliptic.AMRMarker.AMRMarker._data_model, dastgen2.aspects.Aspect.Aspect._data_model, dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers._data_model, exaparty.api.particle.Particle.Particle.SpeciesAspect._data_model, and peano4.api.datamodel.DaStGen2.DaStGen2Artefact._data_model.
| dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.get_method_declarations | ( | self, | |
| full_qualified_name | |||
| ) |
Reimplemented from dastgen2.aspects.Aspect.Aspect.
Definition at line 66 of file MPIForSmartPointers.py.
|
protected |
Definition at line 44 of file MPIForSmartPointers.py.
Referenced by solvers.elliptic.AMRMarker.AMRMarker.add_to_Peano4_datamodel(), solvers.elliptic.AMRMarker.AMRMarker.add_use_data_statements_to_Peano4_solver_step(), peano4.api.datamodel.DaStGen2.DaStGen2Artefact.generate(), dastgen2.aspects.MPI.MPI.get_implementation(), dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.get_implementation(), dastgen2.aspects.MPIForSmartPointers.MPIForSmartPointers.get_include(), and dastgen2.aspects.Aspect.Aspect.set_model().