You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
operator
umfpackFabric.hh
Go to the documentation of this file.
1
6
// fabric class for Umfpack
7
8
#ifndef umfpackFabric_hh
9
#define umfpackFabric_hh
10
11
#include "
umfpack.hh
"
12
#include "
solverFabric.hh
"
13
14
namespace
concepts
{
15
16
// ********************************************************* UmfpackFabric **
17
21
class
UmfpackFabric
:
public
SolverFabric
<Real> {
22
public
:
23
UmfpackFabric
(
bool
symmetric
=
false
) : symmetric_(
symmetric
) {}
24
virtual
Operator<Real>
*
operator()
() {
25
return
NULL
;
26
}
27
28
virtual
Operator<Real>
*
operator()
(
Operator<Real>
& matrix) {
29
return
new
Umfpack
(matrix, symmetric_);
30
}
31
virtual
Operator<Real>*
operator()
(SparseMatrix<Real>& matrix) {
32
return
new
Umfpack(matrix, symmetric_);
33
}
34
protected
:
35
virtual
std::ostream&
info
(std::ostream&
os
)
const
{
36
return
os
<<
concepts::typeOf
(*
this
)<<
"()"
;
37
}
38
private
:
39
bool
symmetric_;
40
};
41
42
}
// concepts
43
44
#endif
// umfpackFabric_hh
concepts::Operator
Definition
compositions.hh:42
concepts::SolverFabric
Definition
solverFabric.hh:22
concepts::UmfpackFabric
Definition
umfpackFabric.hh:21
concepts::UmfpackFabric::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition
umfpackFabric.hh:35
concepts::UmfpackFabric::operator()
virtual Operator< Real > * operator()()
Definition
umfpackFabric.hh:24
concepts::Umfpack
Definition
umfpack.hh:39
concepts
Definition
pml_formula.h:16
concepts::typeOf
std::string typeOf(const T &t)
Definition
output.hh:43
concepts::makeSet
Set< F > makeSet(uint n, const F &first,...)
Definition
set.hh:320
solverFabric.hh
umfpack.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8