SPH
|
Returns second derivatives of given quantity as stored in storage. More...
#include <Column.h>
Public Member Functions | |
SecondDerivativeColumn (const QuantityId id) | |
virtual Dynamic | evaluate (const Storage &storage, const Statistics &UNUSED(stats), const Size particleIdx) const override |
virtual void | accumulate (Storage &storage, const Dynamic value, const Size particleIdx) 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 () |
Returns second derivatives of given quantity as stored in storage.
Quantity must contain second derivative, checked by assert.
|
inlineexplicit |
|
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.