pardisoFabric.hh

Go to the documentation of this file.
1 
6 #ifndef pardisoFabric_hh
7 #define pardisoFabric_hh
8 
9 #include "pardiso.hh"
10 #include "solverFabric.hh"
11 
12 namespace concepts {
13 
14  // ********************************************************* PardisoFabric **
15 
19  class PardisoFabric : public SolverFabric<Real> {
20  public:
23  return new Pardiso(matrix, type_);
24  }
26  return new Pardiso(matrix, type_);
27  }
28  protected:
29  virtual std::ostream& info(std::ostream& os) const {
30  return os << concepts::typeOf(*this)<<"(" << type_ << ')';
31  }
32  private:
34  };
35 
36 } // concepts
37 
38 #endif // pardisoFabric_hh
virtual std::ostream & info(std::ostream &os) const
PardisoFabric(enum Pardiso::MATRIX_TYPE type)
enum Pardiso::MATRIX_TYPE type_
Sparse direct solver for symmetric and unsymmetric matrices.
Definition: pardiso.hh:43
virtual Operator< Real > * operator()(SparseMatrix< Real > &matrix)
MATRIX_TYPE
Type of matrix to solve.
Definition: pardiso.hh:46
Abstract fabric class for linear solvers.
Definition: jdbsym.hh:16
virtual Operator< Real > * operator()(Operator< Real > &matrix)
Fabric class for Pardiso.
std::string typeOf(const T &t)
Return the typeid name of a class object.
Definition: output.hh:43
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich