![]() |
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 |