darsia.BeckmannLinearSolverFactory#
- class BeckmannLinearSolverFactory[source]#
Bases:
objectFactory constructing a
BeckmannLinearSolverfrom 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_type
BeckmannLinearSolverType Type of linear solver.
- options
dict Options for the linear solver.
- solver_type
- Returns:
BeckmannLinearSolverInstance of the linear solver.