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
Backofen, Rainer
amdis
Commits
2fc80215
Commit
2fc80215
authored
Dec 11, 2012
by
Thomas Witkowski
Browse files
Small bug fix in ProblemInstat
parent
55df3b3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/ProblemInstat.cc
View file @
2fc80215
...
...
@@ -125,7 +125,7 @@ namespace AMDiS {
oldSolution
=
new
SystemVector
(
"old solution"
,
problemStat
->
getFeSpaces
(),
size
);
for
(
int
i
=
0
;
i
<
size
;
i
++
)
{
oldSolution
->
setDOFVector
(
i
,
new
DOFVector
<
double
>
(
problemStat
->
getFeSpace
(
i
),
name
+
"
->
uOld"
));
name
+
"
_
uOld"
));
oldSolution
->
getDOFVector
(
i
)
->
setCoarsenOperation
(
COARSE_INTERPOL
);
if
(
problemStat
->
getEstimator
(
i
))
...
...
AMDiS/src/parallel/MeshDistributor.cc
View file @
2fc80215
...
...
@@ -1491,6 +1491,7 @@ namespace AMDiS {
partitioner
->
getRecvElements
().
size
()
==
0
))
(
"Partition is empty, should not happen!
\n
"
);
// === Create map that maps macro element indices to pointers to the ===
// === macro elements. ===
...
...
@@ -1859,15 +1860,15 @@ namespace AMDiS {
#if (DEBUG != 0)
static
int
fileNumber
(
0
);
//improvised counter for adapt Iteration
stringstream
ss
;
ss
<<
debugOutputDir
<<
"elementMaps."
<<
fileNumber
;
//write local Element Maps to csv file
ParallelDebug
::
writeCsvElementMap
(
feSpaces
[
0
],
*
(
dofMaps
[
0
]),
ss
.
str
(),
"csv"
);
fileNumber
++
;
static
int
fileNumber
(
0
);
//improvised counter for adapt Iteration
stringstream
ss
;
ss
<<
debugOutputDir
<<
"elementMaps."
<<
fileNumber
;
//write local Element Maps to csv file
ParallelDebug
::
writeCsvElementMap
(
feSpaces
[
0
],
*
(
dofMaps
[
0
]),
ss
.
str
(),
"csv"
);
fileNumber
++
;
ParallelDebug
::
testDofContainerCommunication
(
*
this
);
...
...
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