1#ifndef CHITECH_AGS_LINEAR_SOLVER_H
2#define CHITECH_AGS_LINEAR_SOLVER_H
12template<
class MatType,
class VecType,
class SolverType>
21 typedef std::shared_ptr<AGSContext<MatType,VecType,SolverType>>
AGSContextPtr;
31 int groupspan_first_id,
32 int groupspan_last_id,
33 bool verbose =
true) :
35 (std::move(iterative_method),ags_context_ptr),
LinearSolver(const std::string &iterative_method, LinSolveContextPtr context_ptr)
std::shared_ptr< AGSContext< MatType, VecType, SolverType > > AGSContextPtr
int GroupSpanLastID() const
void SetInitialGuess() override
void SetPreconditioner() override
AGSLinearSolver(std::string iterative_method, AGSContextPtr ags_context_ptr, int groupspan_first_id, int groupspan_last_id, bool verbose=true)
int GroupSpanFirstID() const
virtual void SetSystemSize() override
virtual void SetSystem() override
void SetVerbosity(bool verbose_y_n)
virtual ~AGSLinearSolver() override