Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
3a4b08f6
Commit
3a4b08f6
authored
Nov 02, 2009
by
Thomas Witkowski
Browse files
Small bugfix.
parent
acc3faca
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/ITL_Preconditioner.h
View file @
3a4b08f6
...
...
@@ -125,11 +125,12 @@ namespace AMDiS {
* Diagonal preconditioner.
*/
class
DiagonalPreconditioner
:
public
ITL_Preconditioner
<
itl
::
pc
::
diagonal
<
DOFMatrix
::
base_matrix_type
>
>
:
public
ITL_Preconditioner
<
itl
::
pc
::
diagonal
<
DOFMatrix
::
base_matrix_type
>
>
{
typedef
ITL_Preconditioner
<
itl
::
pc
::
diagonal
<
DOFMatrix
::
base_matrix_type
>
>
base
;
typedef
ITL_Preconditioner
<
itl
::
pc
::
diagonal
<
DOFMatrix
::
base_matrix_type
>
>
base
;
DiagonalPreconditioner
(
const
DOFMatrix
::
base_matrix_type
&
A
)
:
base
(
A
)
{}
public:
DiagonalPreconditioner
(
const
DOFMatrix
::
base_matrix_type
&
A
)
:
base
(
A
)
{}
};
/**
...
...
@@ -139,9 +140,10 @@ namespace AMDiS {
* Identity preconditioner. Behaves like no preconditioning.
*/
class
IdentityPreconditioner
:
public
ITL_Preconditioner
<
itl
::
pc
::
identity
<
DOFMatrix
::
base_matrix_type
>
>
:
public
ITL_Preconditioner
<
itl
::
pc
::
identity
<
DOFMatrix
::
base_matrix_type
>
>
{
typedef
ITL_Preconditioner
<
itl
::
pc
::
identity
<
DOFMatrix
::
base_matrix_type
>
>
base
;
typedef
ITL_Preconditioner
<
itl
::
pc
::
identity
<
DOFMatrix
::
base_matrix_type
>
>
base
;
public:
IdentityPreconditioner
(
const
DOFMatrix
::
base_matrix_type
&
A
)
:
base
(
A
)
{}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment