ODESolver

class ODESolver(*args)

ODE solver base class.

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

Methods

getClassName()

Accessor to the object's name.

getId()

Accessor to the object's id.

getImplementation()

Accessor to the underlying implementation.

getName()

Accessor to the object's name.

getTransitionFunction()

Transition function accessor.

setName(name)

Accessor to the object's name.

setTransitionFunction(transitionFunction)

Transition function accessor.

solve(*args)

Solve ODE.

__init__(*args)
getClassName()

Accessor to the object’s name.

Returns:
class_namestr

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

getId()

Accessor to the object’s id.

Returns:
idint

Internal unique identifier.

getImplementation()

Accessor to the underlying implementation.

Returns:
implImplementation

A copy of the underlying implementation object.

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

getTransitionFunction()

Transition function accessor.

Returns:
transitionFunctionFieldFunction

Transition function.

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.

setTransitionFunction(transitionFunction)

Transition function accessor.

Parameters:
transitionFunctionFieldFunction

Transition function.

solve(*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.