SPH
|
Helper column printing current run time. This value is the same for every particle. More...
#include <Column.h>
Public Member Functions | |
virtual Dynamic | evaluate (const Storage &UNUSED(storage), const Statistics &stats, const Size UNUSED(particleIdx)) const override |
virtual void | accumulate (Storage &, const Dynamic, const Size) const override |
Reads the value of the column and saves it into the storage, if possible. More... | |
virtual std::string | getName () const override |
Returns a name of the column. More... | |
virtual ValueEnum | getType () const override |
Returns the value type of the column. More... | |
![]() | |
virtual Dynamic | evaluate (const Storage &storage, const Statistics &stats, const Size particleIdx) const =0 |
Returns the value of the output column for given particle. More... | |
![]() | |
virtual | ~Polymorphic () |
Helper column printing current run time. This value is the same for every particle.
|
inlineoverridevirtual |
Reads the value of the column and saves it into the storage, if possible.
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. |
Exception | if value cannot be accumulated. |
Implements ITextColumn.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Returns a name of the column.
The name is printed in the header of the output file.
Implements ITextColumn.
|
inlineoverridevirtual |
Returns the value type of the column.
Implements ITextColumn.