gemseo / algos / ode

Show inherited members

ode_solver_lib module

Base wrapper for all ODE solvers.

class gemseo.algos.ode.ode_solver_lib.ODESolverDescription(algorithm_name, internal_algorithm_name, library_name='', description='', website='')[source]

Bases: AlgorithmDescription

Description for the ODE solver.

Parameters:
  • algorithm_name (str) –

  • internal_algorithm_name (str) –

  • library_name (str) –

    By default it is set to “”.

  • description (str) –

    By default it is set to “”.

  • website (str) –

    By default it is set to “”.

algorithm_name: str

The name of the algorithm in GEMSEO.

internal_algorithm_name: str

The name of the algorithm in the wrapped library.

class gemseo.algos.ode.ode_solver_lib.ODESolverLib[source]

Bases: AlgorithmLibrary

Abstract class for libraries of ODE solvers.

algo_name: str | None

The name of the algorithm used currently.

descriptions: dict[str, AlgorithmDescription]

The description of the algorithms contained in the library.

internal_algo_name: str | None

The internal name of the algorithm used currently.

It typically corresponds to the name of the algorithm in the wrapped library if any.

opt_grammar: JSONGrammar | None

The grammar defining the options of the current algorithm.

problem: ODEProblem = None

The problem to be solved.