SPH
|
Returns the total internal energy of all particles. More...
#include <Integrals.h>
Public Member Functions | |
virtual Float | evaluate (const Storage &storage) const override |
Computes the integral quantity using particles in the storage. More... | |
virtual std::string | getName () const override |
Returns the name of the integral. More... | |
![]() | |
virtual | ~Polymorphic () |
Returns the total internal energy of all particles.
Storage must contain at least particle masses and specific internal energy. If used solver works with other independent quantity (energy density, total energy, specific entropy), specific energy must be derived and saved to storage before the function is called.
Definition at line 119 of file Integrals.h.
Computes the integral quantity using particles in the storage.
Storage must contain quantites relevant to the integral implementation. Generally positions, masses and density must be present.
Implements IIntegral< Float >.
Definition at line 109 of file Integrals.cpp.
|
inlineoverridevirtual |
Returns the name of the integral.
Needed to label the integral in logs, GUI etc.
Implements IIntegral< Float >.
Definition at line 123 of file Integrals.h.