Class LinearSolver

Inheritance Relationships

Derived Types

Class Documentation

class LinearSolver

Subclassed by opensn::LinearEigenSolver, opensn::LinearSystemSolver

Public Functions

inline explicit LinearSolver(std::shared_ptr<LinearSolverContext> context_ptr)
virtual ~LinearSolver() = default
inline virtual void Setup()

Set up the linaer solver.

virtual void Solve() = 0

Solve the system.

inline std::shared_ptr<LinearSolverContext> GetContext()

Protected Attributes

std::shared_ptr<LinearSolverContext> context_ptr_