particle_data.hΒΆ
A header file containing the code objects for holding particle data and data on the available smoothable properties and mappings.
- struct ParticleData
- #include <particle_data.h>
Container for all information pertaining to an individual particle
Public Members
- double pos[3]
particle position
- double mass
particle mass
- int id
particle identifier
- int type
particle type
- int bin[3]
particle host bin in the x, y and z directions
- double h
particle SPH smoothing length
- DynamicArray< double > extra
array holding all additional particle properties for use in smoothing calc
- bool active
particle active in current smoothing calculation?
- struct ParticleProperty
- #include <particle_data.h>
Container for information on particle properties which may be smoothed on to the grid
Public Members
- std::string label
property label
- bool active
property in use for current smoothing calculation?
- int map
property mapping on to index within ParticleData.extra array
- int type
particle type which property is associated with