22 #ifndef __HERMES_COMMON_AMESOS_SOLVER_H_
23 #define __HERMES_COMMON_AMESOS_SOLVER_H_
24 #include "../../config.h"
30 #include <Amesos_BaseSolver.h>
38 template<
typename Scalar>
42 static bool is_available(
const char *name);
47 void set_use_transpose(
bool use_transpose);
54 virtual int get_matrix_size();
56 static Amesos factory;
57 Amesos_BaseSolver *solver;
58 Epetra_LinearProblem problem;
62 bool setup_factorization();
General (abstract) matrix representation in Hermes.
General namespace for the Hermes library.
Linear matrix solver functionality.
General (abstract) vector representation in Hermes.
Encapsulation of Amesos linear solver.
HERMES_API LinearMatrixSolver< Scalar > * create_linear_solver(Matrix< Scalar > *matrix, Vector< Scalar > *rhs, bool use_direct_solver=false)
Function returning a solver according to the users's choice.
Abstract class for defining solver interface.
File containing platform compatibility layer, especially for Win / MSVC.
EpetraMatrix and EpetraVector storage classes for Amesos, AztecOO, ... .