SDC Solver Core (sdc_solver_core)

class pypint.solvers.cores.sdc_solver_core.SdcSolverCore[source]

Bases: pypint.solvers.cores.i_solver_core.ISolverCore

Provides the Step-Method-Core for Sdc solver.

This is to be used as a Mixin for the Sdc solver to provide the core step-methods such as the explicit, implicit and semi-implicit Euler.

Notes

The scope of self must be seen in the context of a Sdc solver instance here. Thus, access to Sdc.problem or Sdc.is_implicit is perfectly fine (though IDEs will not resolve this correctly).

As well, note, that SdcCoreMixin.__init__() must be called explicitly and is not called via super() calls. SdcCoreMixin.__init__() is called by Sdc.init().