SPH
Public Member Functions | List of all members
AngularMomentumLog Class Reference
Inheritance diagram for AngularMomentumLog:
PeriodicTrigger ITrigger Polymorphic

Public Member Functions

 AngularMomentumLog (const Float period)
 
virtual AutoPtr< ITriggeraction (Storage &storage, Statistics &stats) override
 Action executed when the condition is fulfilled. More...
 
- Public Member Functions inherited from PeriodicTrigger
 PeriodicTrigger (const Float period, const Float startTime)
 period Period in simulation time of triggered action. More...
 
virtual TriggerEnum type () const override
 Returns the type of the trigger. More...
 
virtual bool condition (const Storage &UNUSED(storage), const Statistics &stats) override
 
- Public Member Functions inherited from ITrigger
virtual bool condition (const Storage &storage, const Statistics &stats)=0
 Returns true if the trigger should be executed. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Definition at line 11 of file RotatingRod.cpp.

Constructor & Destructor Documentation

◆ AngularMomentumLog()

AngularMomentumLog::AngularMomentumLog ( const Float  period)
inline

Definition at line 16 of file RotatingRod.cpp.

Member Function Documentation

◆ action()

virtual AutoPtr<ITrigger> AngularMomentumLog::action ( Storage storage,
Statistics stats 
)
inlineoverridevirtual

Action executed when the condition is fulfilled.

Returns
Additional trigger executed after this one, or nullptr.

Implements ITrigger.

Definition at line 20 of file RotatingRod.cpp.


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