ODESolver

class ODESolver(*args)

ODE solver base class.

Solve an explicit first-order differential equation in the form y' = f(t, y)

Methods

getClassName(self)

Accessor to the object’s name.

getId(self)

Accessor to the object’s id.

getImplementation(self, \*args)

Accessor to the underlying implementation.

getName(self)

Accessor to the object’s name.

getTransitionFunction(self)

Transition function accessor.

setName(self, name)

Accessor to the object’s name.

setTransitionFunction(self, transitionFunction)

Transition function accessor.

solve(self, \*args)

Solve ODE.

__init__(self, *args)

Initialize self. See help(type(self)) for accurate signature.

getClassName(self)

Accessor to the object’s name.

Returns
class_namestr

The object class name (object.__class__.__name__).

getId(self)

Accessor to the object’s id.

Returns
idint

Internal unique identifier.

getImplementation(self, *args)

Accessor to the underlying implementation.

Returns
implImplementation

The implementation class.

getName(self)

Accessor to the object’s name.

Returns
namestr

The name of the object.

getTransitionFunction(self)

Transition function accessor.

Returns
transitionFunctionFieldFunction

Transition function.

setName(self, name)

Accessor to the object’s name.

Parameters
namestr

The name of the object.

setTransitionFunction(self, transitionFunction)

Transition function accessor.

Parameters
transitionFunctionFieldFunction

Transition function.

solve(self, *args)

Solve ODE.

Parameters
initialStatesequence of float

Initial value of the equation

timeGridsequence of float or Mesh of dimension 1

Time stamps, ie values of t at which the solution is computed.

Returns
valuesSample

The solution of the equation at grid points.