You are here:
Concepts
>
Concepts Web
>
Class documentation
Class documentation of Concepts
Loading...
Searching...
No Matches
operator
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
:
21
PardisoFabric
(
enum
Pardiso::MATRIX_TYPE
type) : type_(type) {}
22
virtual
Operator<Real>
*
operator()
(
Operator<Real>
& matrix) {
23
return
new
Pardiso
(matrix, type_);
24
}
25
virtual
Operator<Real>
*
operator()
(
SparseMatrix<Real>
& matrix) {
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
:
33
enum
Pardiso::MATRIX_TYPE
type_;
34
};
35
36
}
// concepts
37
38
#endif
// pardisoFabric_hh
concepts::Operator
Definition
compositions.hh:42
concepts::PardisoFabric
Definition
pardisoFabric.hh:19
concepts::PardisoFabric::info
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition
pardisoFabric.hh:29
concepts::Pardiso
Definition
pardiso.hh:43
concepts::Pardiso::MATRIX_TYPE
MATRIX_TYPE
Type of matrix to solve.
Definition
pardiso.hh:46
concepts::SolverFabric
Definition
solverFabric.hh:22
concepts::SolverFabric< Real >::operator()
virtual Operator< Real > * operator()()=0
concepts::SparseMatrix
Definition
sparseMatrix.hh:65
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
pardiso.hh
Generated on Wed Sep 13 2023 21:06:23 for Concepts by
1.9.8