Peano
Loading...
Searching...
No Matches
exaparty.api.particle.Particle.Particle.SpeciesAspect Class Reference

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

Inheritance diagram for exaparty.api.particle.Particle.Particle.SpeciesAspect:
Collaboration diagram for exaparty.api.particle.Particle.Particle.SpeciesAspect:

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

exaparty.api.particle.Particle.Particle.SpeciesAspect.__init__ (   self)

Definition at line 43 of file Particle.py.

Member Function Documentation

◆ get_attributes()

exaparty.api.particle.Particle.Particle.SpeciesAspect.get_attributes (   self)

Definition at line 54 of file Particle.py.

◆ get_implementation()

exaparty.api.particle.Particle.Particle.SpeciesAspect.get_implementation (   self,
  full_qualified_name 
)

Definition at line 62 of file Particle.py.

◆ get_include()

exaparty.api.particle.Particle.Particle.SpeciesAspect.get_include (   self)

Definition at line 46 of file Particle.py.

◆ get_method_declarations()

exaparty.api.particle.Particle.Particle.SpeciesAspect.get_method_declarations (   self,
  full_qualified_name 
)

Definition at line 57 of file Particle.py.

◆ set_model()

exaparty.api.particle.Particle.Particle.SpeciesAspect.set_model (   self,
  data_model 
)

Definition at line 51 of file Particle.py.

Field Documentation

◆ _data_model


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