Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
|
Contains declarations for Amesos2::create and Amesos2::query. More...
#include "Amesos2_config.h"
#include "Amesos2_Solver.hpp"
#include "Amesos2_SolverTraits.hpp"
#include "Teuchos_ScalarTraits.hpp"
#include "Amesos2_MultiVecAdapter.hpp"
#include "Amesos2_MatrixTraits.hpp"
#include "Amesos2_ctassert.hpp"
#include "Amesos2_KLU2.hpp"
#include "Amesos2_Superludist.hpp"
Go to the source code of this file.
Contains declarations for Amesos2::create and Amesos2::query.
Amesos2 defines the nonmember factory method Amesos2::create
for creating instances of Amesos2 solvers. If a users asks Amesos2::create to create a solver with a matrix whose scalar type is not supported by that solver, then a runtime std::invalid_argument exception will be thrown.
The Amesos2::query
function can be used to ask Amesos2 at runtime whether a particular solver is supported.
Amesos2_ENABLE_SOLVERNAME:BOOL=ON
in your Trilinos configuration script to do this, where SOLVERNAME is the name of the solver you would like to enable.