cosapp.drivers.time.crank_nicolson

Classes

CrankNicolson([name, owner, time_interval, ...])

Second-order implicit integrator.

class cosapp.drivers.time.crank_nicolson.CrankNicolson(name='Time driver', owner: System | None = None, time_interval: tuple[float, float] | None = None, dt: float | None = None, record_dt: bool = False, **options)[source]

Bases: AbstractTimeDriver

Second-order implicit integrator.

is_standalone() bool[source]

Is this Driver able to solve a system?

Returns:

Ability to solve a system or not.

Return type:

bool

property problem

Mathematical problem handled by the driver, gathering the intrinsic problem of the owner system and its transient variables.

setup_run() None[source]

Setup the driver once before starting the simulation and before calling the systems setup_run.