Helper column printing particle numbers.
More...
#include <Column.h>
Helper column printing particle numbers.
Definition at line 269 of file Column.h.
◆ accumulate()
virtual void ParticleNumberColumn::accumulate |
( |
Storage & |
storage, |
|
|
const |
value, |
|
|
const |
particleIdx |
|
) |
| const |
|
inlineoverridevirtual |
Reads the value of the column and saves it into the storage, if possible.
- Parameters
-
storage | Particle storage where the value is stored |
value | Accumulated value, must be the same type as this column. Checked by assert. |
particleIdx | Index of accumulated particle; if larger than current size of the storage, the storage is resized accordingly. |
- Exceptions
-
Implements ITextColumn.
Definition at line 277 of file Column.h.
◆ evaluate()
virtual Dynamic ParticleNumberColumn::evaluate |
( |
const Storage & |
UNUSEDstorage, |
|
|
const Statistics & |
UNUSEDstats, |
|
|
const Size |
particleIdx |
|
) |
| const |
|
inlineoverridevirtual |
◆ getName()
virtual std::string ParticleNumberColumn::getName |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns a name of the column.
The name is printed in the header of the output file.
Implements ITextColumn.
Definition at line 281 of file Column.h.
◆ getType()
virtual ValueEnum ParticleNumberColumn::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- /home/pavel/projects/astro/sph/src/core/io/Column.h