Class Derivable#

Inheritance Relationships#

Derived Type#

Class Documentation#

class Derivable#

Interface for a class that provides n-derivatives for an ODE func.

Subclassed by PlumeRise

Public Functions

virtual void func(double &x, vector<double> &y, vector<double> &yp) = 0#

A function that provides the necessary derivatives for the ODE solver.

Parameters:
  • x – the value to calculate derivatives at

  • y – the f(y) values

  • yp – the f’(y) values

Public Members

int neqn#

The number of equations being calculated.