Peano 4
Loading...
Searching...
No Matches
peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByList Class Reference

Map a particle set onto heap objects indexed by a list. More...

Inheritance diagram for peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByList:
Collaboration diagram for peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByList:

Public Member Functions

 __init__ (self, data)
 
 construct_output (self, output)
 
- Public Member Functions inherited from peano4.toolbox.particles.ParticleSet.AbstractParticleSetGenerator
 gather_particles (self)
 
 get_stack_container (self)
 
 get_header_file_include (self)
 

Additional Inherited Members

- Protected Attributes inherited from peano4.toolbox.particles.ParticleSet.AbstractParticleSetGenerator
 _data
 
 _gather_particles
 

Detailed Description

Map a particle set onto heap objects indexed by a list.

This class is tied to peano4::stacks::STDVectorOverContainerOfPointers, i.e. Peano's stacks are realised via std::vector from the C++ standard library. Each entry within this vector then resembles a C++ container over pointers to the heap. That is, all particles are stored on the heap. They are scattered. The C++ pointer per stack entry that's used to store all the particle pointers is realised through std::list.

Please consult the generic discussion on the impact of storage schemes.

Definition at line 53 of file ParticleSet.py.

Constructor & Destructor Documentation

◆ __init__()

peano4.toolbox.particles.ParticleSet.ParticleSetGenerator_ScatteredOnHeap_IndexByList.__init__ ( self,
data )

Member Function Documentation

◆ construct_output()


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