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
99fdbce7
Commit
99fdbce7
authored
Nov 27, 2013
by
Praetorius, Simon
Browse files
some corrections in the solvers
parent
7811867b
Changes
1
Show whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscSolverNavierStokes.cc
View file @
99fdbce7
...
...
@@ -24,8 +24,6 @@
#include "parallel/PetscHelper.h"
#include "TransformDOF.h"
#include "tools.h"
namespace
AMDiS
{
namespace
Parallel
{
using
namespace
std
;
...
...
@@ -115,8 +113,6 @@ namespace AMDiS { namespace Parallel {
void
PetscSolverNavierStokes
::
initSolver
(
KSP
&
ksp
)
{
FUNCNAME
(
"PetscSolverNavierStokes::initSolver()"
);
printMem
(
"begin(initSolver)"
);
// Create FGMRES based outer solver
MSG
(
"CREATE POS 1: %p
\n
"
,
&
ksp
);
...
...
@@ -131,8 +127,6 @@ namespace AMDiS { namespace Parallel {
// Create null space information.
if
(
pressureNullSpace
)
setConstantNullSpace
(
ksp
,
pressureComponent
,
true
);
printMem
(
"end(initSolver)"
);
}
...
...
@@ -146,9 +140,6 @@ namespace AMDiS { namespace Parallel {
TEST_EXIT
(
invTau
)(
"invtau pointer not set!
\n
"
);
TEST_EXIT
(
solution
)(
"solution pointer not set!
\n
"
);
printMem
(
"begin(initPreconditioner)"
);
int
dim
=
componentSpaces
[
pressureComponent
]
->
getMesh
()
->
getDim
();
vector
<
int
>
velocityComponents
;
...
...
@@ -365,9 +356,6 @@ namespace AMDiS { namespace Parallel {
setConstantNullSpace
(
matShellContext
.
kspLaplace
);
printMem
(
"end(initPreconditioner)"
);
MSG
(
"Setup of Navier-Stokes preconditioner needed %.5f seconds
\n
"
,
t
.
elapsed
());
}
...
...
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