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
b48c8d0d
Commit
b48c8d0d
authored
Sep 28, 2012
by
Thomas Witkowski
Browse files
Delete mesh removed from stationary problem due to some bug in coupling problems.
parent
537e10f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/Mesh.cc
View file @
b48c8d0d
...
...
@@ -138,10 +138,7 @@ namespace AMDiS {
if
(
elementPrototype
)
delete
elementPrototype
;
if
(
elementDataPrototype
)
delete
elementDataPrototype
;
for
(
unsigned
int
i
=
0
;
i
<
admin
.
size
();
i
++
)
delete
admin
[
i
];
delete
elementDataPrototype
;
}
...
...
AMDiS/src/ProblemStat.cc
View file @
b48c8d0d
...
...
@@ -122,16 +122,22 @@ namespace AMDiS {
}
for
(
unsigned
int
i
=
0
;
i
<
meshes
.
size
();
i
++
)
if
(
meshes
[
i
])
delete
meshes
[
i
];
if
(
meshes
[
i
])
{
// delete meshes[i];
// meshes[i] = NULL;
}
for
(
unsigned
int
i
=
0
;
i
<
estimator
.
size
();
i
++
)
if
(
estimator
[
i
])
if
(
estimator
[
i
])
{
delete
estimator
[
i
];
estimator
[
i
]
=
NULL
;
}
for
(
unsigned
int
i
=
0
;
i
<
marker
.
size
();
i
++
)
if
(
marker
[
i
])
if
(
marker
[
i
])
{
delete
marker
[
i
];
marker
[
i
]
=
NULL
;
}
}
...
...
Write
Preview
Supports
Markdown
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