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

Public Member Functions

 SelectedParticleIntegral (SharedPtr< IColorizer > colorizer, const Size idx)
 
virtual Float evaluate (const Storage &UNUSED(storage)) const override
 
virtual std::string getName () const override
 Returns the name of the integral. More...
 
- Public Member Functions inherited from IIntegral< Float >
virtual Float evaluate (const Storage &storage) const=0
 Computes the integral quantity using particles in the storage. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Definition at line 9 of file Plots.cpp.

Constructor & Destructor Documentation

◆ SelectedParticleIntegral()

SelectedParticleIntegral::SelectedParticleIntegral ( SharedPtr< IColorizer colorizer,
const Size  idx 
)
inline

Definition at line 15 of file Plots.cpp.

Member Function Documentation

◆ evaluate()

virtual Float SelectedParticleIntegral::evaluate ( const Storage UNUSEDstorage) const
inlineoverridevirtual

Definition at line 19 of file Plots.cpp.

◆ getName()

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

Returns the name of the integral.

Needed to label the integral in logs, GUI etc.

Implements IIntegral< Float >.

Definition at line 24 of file Plots.cpp.


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