gemseo_petsc / linear_solvers

Show inherited members

ksp_library module

A PETSC KSP linear solvers library wrapper.

class gemseo_petsc.linear_solvers.ksp_library.PetscKSPAlgos[source]

Bases: LinearSolverLibrary

Interface to PETSC KSP.

For further information, please read

OPTIONS_MAP: ClassVar[dict[str, str]] = {}

The names of the options in GEMSEO mapping to those in the wrapped library.

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: Any | None

The problem to be solved.

save_fpath: str | None

The file path to save the linear problem.