darsia.BeckmannLinearSolverFactory#

class BeckmannLinearSolverFactory[source]#

Bases: object

Factory constructing a BeckmannLinearSolver from a type and options.

Methods

create(solver_type, options)

Factory method to create a linear solver for Beckmann's problem.

static create(solver_type, options)[source]#

Factory method to create a linear solver for Beckmann’s problem.

Parameters:
solver_typeBeckmannLinearSolverType

Type of linear solver.

optionsdict

Options for the linear solver.

Returns:
BeckmannLinearSolver

Instance of the linear solver.