|
Peano
|
Every generated particle belongs to a species. More...


Public Member Functions | |
| __init__ (self) | |
| get_include (self) | |
| set_model (self, data_model) | |
| get_attributes (self) | |
| get_method_declarations (self, full_qualified_name) | |
| get_implementation (self, full_qualified_name) | |
Protected Attributes | |
| _data_model | |
Every generated particle belongs to a species.
I originally thought I'd use some kind of inheritance to model this, but actually it is easier to introduce a static field for the time being that stores the species information.
Definition at line 33 of file Particle.py.
| swift2.particle.Particle.Particle.SpeciesAspect.__init__ | ( | self | ) |
Definition at line 43 of file Particle.py.
| swift2.particle.Particle.Particle.SpeciesAspect.get_attributes | ( | self | ) |
Definition at line 54 of file Particle.py.
| swift2.particle.Particle.Particle.SpeciesAspect.get_implementation | ( | self, | |
| full_qualified_name ) |
Definition at line 62 of file Particle.py.
| swift2.particle.Particle.Particle.SpeciesAspect.get_include | ( | self | ) |
Definition at line 46 of file Particle.py.
| swift2.particle.Particle.Particle.SpeciesAspect.get_method_declarations | ( | self, | |
| full_qualified_name ) |
Definition at line 57 of file Particle.py.
| swift2.particle.Particle.Particle.SpeciesAspect.set_model | ( | self, | |
| data_model ) |
Definition at line 51 of file Particle.py.
|
protected |
Definition at line 52 of file Particle.py.
Referenced by exahype2.solvers.elliptic.AMRMarker.AMRMarker.add_to_Peano4_datamodel(), exahype2.solvers.elliptic.AMRMarker.AMRMarker.add_use_data_statements_to_Peano4_solver_step(), 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().