Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
amdis
amdis-core
Commits
e746ee51
Commit
e746ee51
authored
7 years ago
by
Müller, Felix
Committed by
Praetorius, Simon
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
removed debug output
parent
79095eeb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/amdis/Marker.cpp
+0
-5
0 additions, 5 deletions
src/amdis/Marker.cpp
src/amdis/Marker.hpp
+0
-2
0 additions, 2 deletions
src/amdis/Marker.hpp
with
0 additions
and
7 deletions
src/amdis/Marker.cpp
+
0
−
5
View file @
e746ee51
...
@@ -69,7 +69,6 @@ namespace AMDiS {
...
@@ -69,7 +69,6 @@ namespace AMDiS {
template
<
class
Grid
>
template
<
class
Grid
>
void
Marker
<
Grid
>::
markElement
(
AdaptInfo
&
adaptInfo
,
const
Element
&
elem
)
void
Marker
<
Grid
>::
markElement
(
AdaptInfo
&
adaptInfo
,
const
Element
&
elem
)
{
{
msg
(
"DEBUG: Marker::markElement
\n
"
);
int
row_
=
row
==
-
1
?
0
:
row
;
int
row_
=
row
==
-
1
?
0
:
row
;
const
auto
&
index
=
grid
->
leafIndexSet
().
index
(
elem
);
const
auto
&
index
=
grid
->
leafIndexSet
().
index
(
elem
);
double
lError
=
est
[
index
][
row_
];
double
lError
=
est
[
index
][
row_
];
...
@@ -95,8 +94,6 @@ namespace AMDiS {
...
@@ -95,8 +94,6 @@ namespace AMDiS {
template
<
class
Grid
>
template
<
class
Grid
>
Flag
Marker
<
Grid
>::
markGrid
(
AdaptInfo
&
adaptInfo
)
Flag
Marker
<
Grid
>::
markGrid
(
AdaptInfo
&
adaptInfo
)
{
{
msg
(
"DEBUG: Marker::markGrid
\n
"
);
test_exit
(
grid
,
"No grid!
\n
"
);
test_exit
(
grid
,
"No grid!
\n
"
);
initMarking
(
adaptInfo
);
initMarking
(
adaptInfo
);
...
@@ -166,8 +163,6 @@ namespace AMDiS {
...
@@ -166,8 +163,6 @@ namespace AMDiS {
template
<
class
Grid
>
template
<
class
Grid
>
Flag
GERSMarker
<
Grid
>::
markGrid
(
AdaptInfo
&
adaptInfo
)
Flag
GERSMarker
<
Grid
>::
markGrid
(
AdaptInfo
&
adaptInfo
)
{
{
msg
(
"DEBUG: GERSMarker::markGrid
\n
"
);
Marker
<
Grid
>::
initMarking
(
adaptInfo
);
Marker
<
Grid
>::
initMarking
(
adaptInfo
);
int
row_
=
this
->
row
==
-
1
?
0
:
this
->
row
;
int
row_
=
this
->
row
==
-
1
?
0
:
this
->
row
;
...
...
This diff is collapsed.
Click to expand it.
src/amdis/Marker.hpp
+
0
−
2
View file @
e746ee51
...
@@ -60,7 +60,6 @@ namespace AMDiS {
...
@@ -60,7 +60,6 @@ namespace AMDiS {
if
(
!
maximumMarking
||
(
newMark
>
oldMark
))
{
if
(
!
maximumMarking
||
(
newMark
>
oldMark
))
{
bool
(
marked
)
=
grid
->
mark
(
newMark
,
elem
);
bool
(
marked
)
=
grid
->
mark
(
newMark
,
elem
);
msg
(
"DEBUG: Was marked? "
,
marked
,
"; oldMark = "
,
oldMark
,
", newMark = "
,
newMark
,
"
\n
"
);
if
(
marked
)
{
if
(
marked
)
{
if
(
oldMark
>
0
)
{
if
(
oldMark
>
0
)
{
elMarkRefine
--
;
elMarkRefine
--
;
...
@@ -191,7 +190,6 @@ namespace AMDiS {
...
@@ -191,7 +190,6 @@ namespace AMDiS {
/// Implementation of Marker::markElement().
/// Implementation of Marker::markElement().
virtual
void
markElement
(
AdaptInfo
&
adaptInfo
,
const
Element
&
elem
)
virtual
void
markElement
(
AdaptInfo
&
adaptInfo
,
const
Element
&
elem
)
{
{
msg
(
"DEBUG: GRMarker::markElement
\n
"
);
if
(
adaptInfo
.
isRefinementAllowed
(
this
->
row
==
-
1
?
0
:
this
->
row
))
if
(
adaptInfo
.
isRefinementAllowed
(
this
->
row
==
-
1
?
0
:
this
->
row
))
this
->
mark
(
elem
,
1
);
this
->
mark
(
elem
,
1
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment