OGS
|
Linear solver using Lis (http://www.ssisc.org/lis/)
Definition at line 36 of file LisLinearSolver.h.
#include <LisLinearSolver.h>
Public Member Functions | |
LisLinearSolver (const std::string solver_name="", BaseLib::ConfigTree const *const option=nullptr) | |
void | setOption (const LisOption &option) |
bool | solve (LisMatrix &A, LisVector &b, LisVector &x) |
Private Attributes | |
LisOption | lis_option_ |
MathLib::LisLinearSolver::LisLinearSolver | ( | const std::string | solver_name = "" , |
BaseLib::ConfigTree const *const | option = nullptr |
||
) |
Constructor
solver_name | A name used as a prefix for command line options if there are such options available. |
option | A pointer to a linear solver option. In case you omit this argument, default settings follow those of LisOption struct. |
Definition at line 27 of file LisLinearSolver.cpp.
|
inline |
configure linear solvers
option |
Definition at line 54 of file LisLinearSolver.h.
References lis_option_.
Referenced by MathLib::EigenLisLinearSolver::solve().
Definition at line 33 of file LisLinearSolver.cpp.
References MathLib::checkLisError(), MathLib::finalizeMatrixAssembly(), MathLib::LisMatrix::getRawMatrix(), MathLib::LisVector::getRawVector(), INFO(), lis_option_, and MathLib::LisOption::option_string_.
Referenced by MathLib::EigenLisLinearSolver::solve().
|
private |
Definition at line 59 of file LisLinearSolver.h.
Referenced by setOption(), and solve().