SPH
Public Member Functions | List of all members
RelativeEnergyChange Class Reference
Inheritance diagram for RelativeEnergyChange:
IIntegral< Float > Polymorphic

Public Member Functions

 RelativeEnergyChange ()=default
 
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...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Definition at line 109 of file Plots.cpp.

Constructor & Destructor Documentation

◆ RelativeEnergyChange()

RelativeEnergyChange::RelativeEnergyChange ( )
default

Member Function Documentation

◆ evaluate()

virtual Float RelativeEnergyChange::evaluate ( const Storage storage) const
inlineoverridevirtual

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 117 of file Plots.cpp.

◆ getName()

virtual std::string RelativeEnergyChange::getName ( ) const
inlineoverridevirtual

Returns the name of the integral.

Needed to label the integral in logs, GUI etc.

Implements IIntegral< Float >.

Definition at line 125 of file Plots.cpp.


The documentation for this class was generated from the following file: