Template Class Evaluator

Inheritance Relationships

Derived Types

Class Documentation

template<class scalar_type, typename index_type>
class Evaluator

Abstract class describing a model.

Subclassed by GridKit::PhasorDynamics::Component< scalar_type, index_type >, GridKit::PhasorDynamics::BusBase< scalar_type, index_type >

Public Functions

inline virtual bool monitoring() const

Is there something to monitor? Defaults to false

inline virtual void printMonitoredVariables() const

Print variables at current state.

inline virtual const VariableMonitorBase *getMonitor() const

Get non-owning reference to monitor.

inline virtual void startMonitor()

Get monitor ready for output.

inline virtual void stopMonitor()

Tell monitor to wrap up.

inline virtual CsrMatrixT *getCsrJacobian() const

Return a pointer to the CSR Jacobian.

Todo:

Remove this and use CsrMatirx for jac_

virtual bool hasJacobian() = 0

Is the Jacobian defined. Used in IDA to determine wether DQ is used or not.

Returns:

true

Returns:

false