![]() |
Peano
|
Container for particle data. More...
Public Member Functions | |
__init__ (self, list particle_attributes) | |
get_attribute_list (self) | |
Return the list of available attributes. | |
show_attribute_list (self) | |
Print the list of available attributes. | |
merge (self, other) | |
Merge two VTUParticleSet objects into one (into self). | |
__str__ (self) | |
__repr__ (self) | |
Protected Attributes | |
_nattributes | |
_attribute_translator | |
_particle_attribute_list | |
Container for particle data.
All particle fields shall have the same name as specified in the .vtu files, and be accessible as an attribute of the instantiated object.
The individual particle values are instances of numpy arrays.
get_attribute_list(self): return list of all available particle fields
show_attribute_list(self): prints out all available particle fields
merge(self, other): merge another VTUParticleSet into this one.
Definition at line 47 of file ParticleVTUReader.py.
peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.__init__ | ( | self, | |
list | particle_attributes ) |
particle_attributes : list of strings contains names of all particle fields
Definition at line 68 of file ParticleVTUReader.py.
peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.__repr__ | ( | self | ) |
Definition at line 133 of file ParticleVTUReader.py.
References exahype2.solvers.aderdg.LagrangeBasis.GaussLegendreBasis.__str__(), exahype2.solvers.aderdg.LagrangeBasis.GaussLobattoBasis.__str__(), exahype2.solvers.aderdg.ADERDG.ADERDG.__str__(), exahype2.solvers.aderdg.LagrangeBasis.LagrangeBasis.__str__(), exahype2.solvers.elliptic.AMRMarker.AMRMarker.__str__(), exahype2.solvers.elliptic.ConstrainedPoissonEquationForMarkerOnCells.ConstrainedPoissonEquationForMarkerOnCells.__str__(), exahype2.solvers.fv.FV.FV.__str__(), exahype2.solvers.fv.riemann.GlobalAdaptiveTimeStep.GlobalAdaptiveTimeStep.__str__(), exahype2.solvers.fv.riemann.GlobalAdaptiveTimeStepWithEnclaveTasking.GlobalAdaptiveTimeStepWithEnclaveTasking.__str__(), exahype2.solvers.fv.riemann.GlobalFixedTimeStep.GlobalFixedTimeStep.__str__(), exahype2.solvers.fv.riemann.GlobalFixedTimeStepWithEnclaveTasking.GlobalFixedTimeStepWithEnclaveTasking.__str__(), exahype2.solvers.LagrangeBasisWithDiagonalMassMatrix.LagrangeBasisWithDiagonalMassMatrix.__str__(), exahype2.solvers.limiting.PosterioriLimiting.PosterioriLimiting.__str__(), exahype2.solvers.limiting.StaticLimiting.StaticLimiting.__str__(), exahype2.solvers.rkdg.RungeKuttaDG.RungeKuttaDG.__str__(), exahype2.solvers.rkfd.CellCenteredFiniteDifferences.CellCenteredFiniteDifferences.__str__(), exahype2.symhype.FirstOrderConservativePDEFormulation.FirstOrderConservativePDEFormulation.__str__(), peano4.dastgen2.MPIAndStorageAspect.MPIAndStorageAspect.__str__(), peano4.datamodel.Model.Model.__str__(), peano4.datamodel.Patch.Patch.__str__(), peano4.datamodel.PatchToDoubleArray.PatchToDoubleArray.__str__(), peano4.Project.Project.__str__(), peano4.solversteps.Steps.Steps.__str__(), peano4.toolbox.particles.ParticleSet.ParticleSet.__str__(), peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.__str__(), peano4.visualisation.filters.Filter.Filter.__str__(), swift2.particle.AlgorithmStep.AlgorithmStep.__str__(), solvers.api.Solver.Solver.__str__(), and exahype2.postprocessing.PerformanceData.PerformanceData.__str__().
peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.__str__ | ( | self | ) |
Definition at line 130 of file ParticleVTUReader.py.
Referenced by peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.__repr__().
peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.get_attribute_list | ( | self | ) |
Return the list of available attributes.
Definition at line 101 of file ParticleVTUReader.py.
References peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet._particle_attribute_list.
peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.merge | ( | self, | |
other ) |
Merge two VTUParticleSet objects into one (into self).
Definition at line 114 of file ParticleVTUReader.py.
References peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet._nattributes, and peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet._particle_attribute_list.
peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.show_attribute_list | ( | self | ) |
Print the list of available attributes.
Definition at line 107 of file ParticleVTUReader.py.
References peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet._particle_attribute_list.
|
protected |
Definition at line 79 of file ParticleVTUReader.py.
|
protected |
Definition at line 76 of file ParticleVTUReader.py.
Referenced by peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.merge().
|
protected |
Definition at line 97 of file ParticleVTUReader.py.
Referenced by peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.get_attribute_list(), peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.merge(), and peano4.toolbox.particles.postprocessing.ParticleVTUReader.VTUParticleSet.show_attribute_list().