Class NonLinearSolver

Inheritance Relationships

Derived Type

Class Documentation

class NonLinearSolver

Implementation of a general non-linear solver.

Subclassed by opensn::PETScNonLinearSolver

Public Functions

inline explicit NonLinearSolver(std::string solver_name, std::shared_ptr<NonLinearSolverContext> context_ptr)
virtual ~NonLinearSolver() = default
inline std::shared_ptr<NonLinearSolverContext> GetContext()
inline virtual void Setup()
virtual void Solve() = 0

Protected Attributes

const std::string solver_name_
std::shared_ptr<NonLinearSolverContext> context_ptr_