Exemplo n.º 1
0
 def setup_particle_fields(self, ptype):
     FieldInfoContainer.setup_particle_fields(self, ptype)
     if ptype in ("PartType0", ):
         self.setup_gas_particle_fields(ptype)
         setup_species_fields(self, ptype)
     if ptype in ("PartType4", ):
         self.setup_star_particle_fields(ptype)
Exemplo n.º 2
0
 def setup_particle_fields(self, ptype, *args, **kwargs):
     super(SPHFieldInfo, self).setup_particle_fields(ptype, *args, **kwargs)
     setup_species_fields(self, ptype)
Exemplo n.º 3
0
 def setup_particle_fields(self, ptype, *args, **kwargs):
     super().setup_particle_fields(ptype, *args, **kwargs)
     setup_species_fields(self, ptype)
Exemplo n.º 4
0
 def setup_particle_fields(self, ptype, *args, **kwargs):
     FieldInfoContainer.setup_particle_fields(self, ptype)
     if ptype == "PartType0":
         self.setup_gas_particle_fields(ptype)
         setup_species_fields(self, ptype)