Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
cae74fff
Commit
cae74fff
authored
Jul 30, 2012
by
Thomas Witkowski
Browse files
Fixed small parallel debug in deserialization code.
parent
e6cb7a1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/MeshDistributor.cc
View file @
cae74fff
...
...
@@ -171,15 +171,14 @@ namespace AMDiS {
updateMacroElementInfo
();
setRankDofs
();
removePeriodicBoundaryConditions
();
elObjDb
.
createMacroElementInfo
(
allMacroElements
);
// createBoundaryDofs();
updateLocalGlobalNumbering
();
setRankDofs
();
#if (DEBUG != 0)
ParallelDebug
::
writeDebugFile
(
feSpaces
[
feSpaces
.
size
()
-
1
],
dofMap
,
debugOutputDir
+
"mpi-dbg"
,
"dat"
);
...
...
@@ -1688,11 +1687,6 @@ namespace AMDiS {
lastMeshChangeIndex
=
mesh
->
getChangeIndex
();
MSG
(
"--------> REMOVE THIS LINE <------------
\n
"
);
debug
::
writeElementIndexMesh
(
mesh
,
debugOutputDir
+
"elementIndex-"
+
lexical_cast
<
string
>
(
mpiRank
)
+
".vtu"
);
#if (DEBUG != 0)
ParallelDebug
::
testDofContainerCommunication
(
*
this
);
...
...
AMDiS/src/parallel/PetscSolverFeti.cc
View file @
cae74fff
...
...
@@ -1103,7 +1103,6 @@ namespace AMDiS {
{
FUNCNAME
(
"PetscSolverFeti::dbgMatrix()"
);
#if (DEBUG != 0)
int
writeInteriorMatrix
=
-
1
;
Parameters
::
get
(
"parallel->debug->write interior matrix"
,
writeInteriorMatrix
);
...
...
@@ -1184,6 +1183,11 @@ namespace AMDiS {
MatMult
(
mat_feti
,
unitVector
,
resultVector
);
if
(
fetiPreconditioner
!=
FETI_NONE
)
{
PCApply
(
precon_feti
,
resultVector
,
unitVector
);
VecCopy
(
unitVector
,
resultVector
);
}
PetscScalar
*
vals
;
VecGetArray
(
resultVector
,
&
vals
);
...
...
@@ -1215,7 +1219,6 @@ namespace AMDiS {
MSG
(
"FETI-DP matrix written: %d x %d mat with %d nnz
\n
"
,
lagrangeMap
.
getOverallDofs
(),
lagrangeMap
.
getOverallDofs
(),
nnzCounter
);
}
#endif
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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