HArD::Core2D
Hybrid Arbitrary Degree::Core 2D - Library to implement 2D schemes with edge and cell polynomials as unknowns
Classes | Namespaces | Typedefs | Enumerations | Variables
linearsolver.hpp File Reference
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <boost/algorithm/string.hpp>
Include dependency graph for linearsolver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HArDCore2D::LinearSolver< MatrixType >
 This structure is a wrapper to allow a given code to select various linear solvers. More...
 

Namespaces

 HArDCore2D
 

Typedefs

template<typename MatrixType >
using HArDCore2D::EigenLUType = Eigen::SparseLU< MatrixType >
 
template<typename MatrixType >
using HArDCore2D::EigenBiCGStabType = Eigen::BiCGSTAB< MatrixType, Eigen::IncompleteLUT< double > >
 
template<typename MatrixType >
using HArDCore2D::PardisoLUType = bool
 
template<typename MatrixType >
using HArDCore2D::UMFPACKType = bool
 
using HArDCore2D::PastixLUType = bool
 
using HArDCore2D::PastixLLTType = bool
 
template<typename MatrixType >
using HArDCore2D::ListSolvers = std::tuple< std::unique_ptr< EigenLUType< MatrixType > >, std::unique_ptr< EigenBiCGStabType< MatrixType > >, std::unique_ptr< PardisoLUType< MatrixType > >, std::unique_ptr< UMFPACKType< MatrixType > >, std::unique_ptr< PastixLUType >, std::unique_ptr< PastixLLTType > >
 

Enumerations

enum  HArDCore2D::SolverName {
  HArDCore2D::EigenLU , HArDCore2D::EigenBiCGStab , HArDCore2D::PardisoLU , HArDCore2D::UMFPACK ,
  HArDCore2D::PaStiXLU , HArDCore2D::PaStiXLLT
}
 Enumeration of all available solvers. More...
 

Variables

std::map< std::string, int > HArDCore2D::ParamName
 To parse optional Solver parameter from command line. More...
 
std::vector< double > HArDCore2D::SolverParam
 Create space and stores default values of optional solver parameters. More...
 
const char * HArDCore2D::SolverParamHelper
 Create a solver specific description in boost::desc.options. More...
 
std::map< std::string, SolverName > HArDCore2D::map_solver
 Map to associate to each lowercase name a solver. More...
 
std::map< SolverName, std::string > HArDCore2D::map_realname
 Map to associate to each solver its proper name. More...
 
std::map< SolverName, size_t > HArDCore2D::map_id