umfpack.hh

Go to the documentation of this file.
1 
6 #ifndef UMFPACK_HH
7 #define UMFPACK_HH
8 
9 #include "basics/typedefs.hh"
10 #include "compositions.hh"
11 
12 namespace concepts {
13 
14  // forwards
15  template<typename F>
16  class SparseMatrix;
17 
18  // *************************************************************** Umfpack **
19 
39  class Umfpack : public Operator<Real> {
40  public:
48  Umfpack(const SparseMatrix<Real>& A, bool symmetric = false);
49  virtual ~Umfpack();
50  virtual void operator()(const Function<Real>& fncY, Function<Real>& fncX);
51  void operator()(const Vector<Real>& fncY, Vector<Real>& fncX);
52  uint iterations() const { return 0; }
53  protected:
54  virtual std::ostream& info(std::ostream& os) const;
55  private:
57  const uint n_;
58 
64  void* symbolic_, * numeric_;
65 
67  bool factored_;
68  };
69 
70 } // namespace concepts
71 
72 #endif // UMFPACK_HH
virtual std::ostream & info(std::ostream &os) const
const uint n_
System size.
Definition: umfpack.hh:57
virtual ~Umfpack()
virtual void operator()(const Function< Real > &fncY, Function< Real > &fncX)
uint iterations() const
Definition: umfpack.hh:52
Sparse direct solver for unsymmetric matrices.
Definition: umfpack.hh:39
void * symbolic_
UMFPACK data.
Definition: umfpack.hh:64
concepts::Array< long int > Ai_
Definition: umfpack.hh:60
Abstract class for an operator.
Definition: ARPACK.hh:16
concepts::Array< Real > Ax_
UMFPACK data.
Definition: umfpack.hh:62
void * numeric_
Definition: umfpack.hh:64
Umfpack(const SparseMatrix< Real > &A, bool symmetric=false)
Constructor.
bool factored_
Stores if the factorization was already computed before.
Definition: umfpack.hh:67
concepts::Array< long int > Ap_
UMFPACK data.
Definition: umfpack.hh:60
void operator()(const Vector< Real > &fncY, Vector< Real > &fncX)
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