monolish
0.14.0
MONOlithic LIner equation Solvers for Highly-parallel architecture
|
Go to the documentation of this file.
17 namespace generalized_eigen {
34 template <
typename MATRIX,
typename Float>
46 throw std::runtime_error(
"this precond. is not impl.");
50 throw std::runtime_error(
"this precond. is not impl.");
60 std::string
name()
const {
return "monolish::generalized_eigen::LOBPCG"; }
78 template <
typename MATRIX,
typename Float>
87 throw std::runtime_error(
"this precond. is not impl.");
91 throw std::runtime_error(
"this precond. is not impl.");
101 std::string
name()
const {
return "monolish::generalized_eigen::DC"; }
int LAPACK_DC(MATRIX &A, MATRIX &B, vector< Float > &lambda, int itype)
std::string name() const
get solver name "monolish::generalized_eigen::LOBPCG"
std::string name() const
get solver name "monolish::generalized_eigen::DC"
Devide and Conquer solver.
void create_precond(MATRIX &A)
int solve(MATRIX &A, MATRIX &B, vector< Float > &lambda, int itype)
void create_precond(MATRIX &A)
int monolish_LOBPCG(MATRIX &A, MATRIX &B, vector< Float > &lambda, matrix::Dense< Float > &x, int itype)
int solve(MATRIX &A, MATRIX &B, vector< Float > &lambda, matrix::Dense< Float > &x, int itype)
void apply_precond(const vector< Float > &r, vector< Float > &z)
void apply_precond(const vector< Float > &r, vector< Float > &z)