Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Aland, Sebastian
amdis
Commits
01865c9e
Commit
01865c9e
authored
Sep 20, 2013
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some Petsc-parameters now directly related to the solvers
parent
80fef7eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
AMDiS/src/parallel/PetscSolver.cc
AMDiS/src/parallel/PetscSolver.cc
+4
-4
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
+1
-1
No files found.
AMDiS/src/parallel/PetscSolver.cc
View file @
01865c9e
...
...
@@ -40,7 +40,7 @@ namespace AMDiS { namespace Parallel {
handleDirichletRows
(
true
)
{
std
::
string
tmp
(
""
);
Parameters
::
get
(
name
+
"->
solver->
petsc prefix"
,
tmp
);
Parameters
::
get
(
name
+
"->petsc prefix"
,
tmp
);
setKspPrefix
(
tmp
);
std
::
string
kspStr
=
""
;
...
...
@@ -51,9 +51,9 @@ namespace AMDiS { namespace Parallel {
if
(
kspStr
!=
""
)
PetscOptionsInsertString
(
kspStr
.
c_str
());
Parameters
::
get
(
"parallel
->remove rhs null space"
,
removeRhsNullspace
);
Parameters
::
get
(
"parallel
->has constant null space"
,
hasConstantNullspace
);
Parameters
::
get
(
"parallel
->nullspace->const in comp"
,
Parameters
::
get
(
name
+
"
->remove rhs null space"
,
removeRhsNullspace
);
Parameters
::
get
(
name
+
"
->has constant null space"
,
hasConstantNullspace
);
Parameters
::
get
(
name
+
"
->nullspace->const in comp"
,
constNullspaceComponent
);
}
...
...
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
View file @
01865c9e
...
...
@@ -78,7 +78,7 @@ namespace AMDiS { namespace Parallel {
PetscOptionsInsertString
((
"-"
+
kspPrefix
+
"ksp_monitor"
).
c_str
());
if
(
!
matSolverPackage
)
{
Parameters
::
get
(
"parallel
->use zero start vector"
,
zeroStartVector
);
Parameters
::
get
(
name
+
"
->use zero start vector"
,
zeroStartVector
);
}
Parameters
::
get
(
"parallel->print matrix info"
,
printMatInfo
);
}
...
...
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