Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Timo Koch
dune-common
Commits
edc3f04d
Commit
edc3f04d
authored
19 years ago
by
Robert Klöfkorn
Browse files
Options
Downloads
Patches
Plain Diff
maxlevel --> maxLevel.
eindex with localIdSet. [[Imported from SVN: r3085]]
parent
5b9c0d22
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io/visual/grape/grapegriddisplay.cc
+6
-4
6 additions, 4 deletions
io/visual/grape/grapegriddisplay.cc
with
6 additions
and
4 deletions
io/visual/grape/grapegriddisplay.cc
+
6
−
4
View file @
edc3f04d
...
...
@@ -14,6 +14,7 @@ namespace Dune
GrapeGridDisplay
(
const
GridType
&
grid
,
const
int
myrank
)
:
grid_
(
grid
)
,
leafset_
(
grid
.
leafIndexSet
())
,
lid_
(
grid
.
localIdSet
())
,
myRank_
(
myrank
)
,
myIt_
(
0
),
myEndIt_
(
0
)
,
myLeafIt_
(
0
)
,
myLeafEndIt_
(
0
)
,
hmesh_
(
0
)
...
...
@@ -27,6 +28,7 @@ namespace Dune
GrapeGridDisplay
(
const
GridType
&
grid
)
:
grid_
(
grid
)
,
leafset_
(
grid
.
leafIndexSet
())
,
lid_
(
grid
.
localIdSet
())
,
myRank_
(
-
1
)
,
myIt_
(
0
),
myEndIt_
(
0
)
,
myLeafIt_
(
0
)
,
myLeafEndIt_
(
0
)
,
hmesh_
(
0
)
...
...
@@ -75,7 +77,7 @@ namespace Dune
{
const
DuneElement
&
geometry
=
en
.
geometry
();
if
(
en
.
isLeaf
()
)
he
->
eindex
=
l
eafset_
.
index
(
en
);
if
(
en
.
isLeaf
()
)
he
->
eindex
=
l
id_
.
id
(
en
);
else
he
->
eindex
=
-
1
;
he
->
level
=
en
.
level
();
...
...
@@ -169,7 +171,7 @@ namespace Dune
// myIt ist Zeiger auf LevelIteratorType, definiert innerhalb der Klasse
// rufe default CopyConstructor auf
int
levelOI
=
he
->
level_of_interest
;
if
(
levelOI
<
0
)
levelOI
=
grid_
.
max
l
evel
();
if
(
levelOI
<
0
)
levelOI
=
grid_
.
max
L
evel
();
//myLeafIt_ = new LeafIteratorType ( grid_.template leafbegin<0, All_Partition> (levelOI) );
//myLeafEndIt_ = new LeafIteratorType ( grid_.template leafend <0, All_Partition> (levelOI) );
...
...
@@ -209,7 +211,7 @@ namespace Dune
if
(
myEndIt_
)
delete
myEndIt_
;
int
levelOI
=
he
->
level_of_interest
;
if
(
levelOI
<
0
)
levelOI
=
grid_
.
max
l
evel
();
if
(
levelOI
<
0
)
levelOI
=
grid_
.
max
L
evel
();
// myIt ist Zeiger auf LevelIteratorType, definiert innerhalb der Klasse
// rufe default CopyConstructor auf
...
...
@@ -615,7 +617,7 @@ namespace Dune
hel_
.
vpointer
[
i
][
j
]
=
0.0
;
}
maxlevel
=
grid_
.
max
l
evel
();
maxlevel
=
grid_
.
max
L
evel
();
for
(
unsigned
int
i
=
0
;
i
<
leafset_
.
geomTypes
(
0
).
size
();
i
++
)
{
...
...
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