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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Core Modules
dune-common
Commits
b51e5ba7
Commit
b51e5ba7
authored
19 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
improved gridcheck
[[Imported from SVN: r2882]]
parent
b6d0a906
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
grid/test/gridcheck.cc
+14
-1
14 additions, 1 deletion
grid/test/gridcheck.cc
with
14 additions
and
1 deletion
grid/test/gridcheck.cc
+
14
−
1
View file @
b51e5ba7
...
...
@@ -495,9 +495,22 @@ struct subIndexCheck
{
if
(
g
.
levelIndexSet
(
e
.
level
()).
index
(
*
(
e
.
template
entity
<
cd
>(
i
))
)
!=
g
.
levelIndexSet
(
e
.
level
()).
template
subIndex
<
cd
>(
e
,
i
)
)
{
int
id_e
=
g
.
levelIndexSet
(
e
.
level
()).
index
(
e
);
int
id_e_i
=
g
.
levelIndexSet
(
e
.
level
()).
index
(
*
(
e
.
template
entity
<
cd
>(
i
))
);
int
subid_e_i
=
g
.
levelIndexSet
(
e
.
level
()).
template
subIndex
<
cd
>(
e
,
i
);
DUNE_THROW
(
CheckError
,
"g.levelIndexSet.index( *(e.template entity<cd>(i)) ) "
"== g.levelIndexSet.template subIndex<cd>(e,i) failed"
);
<<
"== g.levelIndexSet.template subIndex<cd>(e,i) failed "
<<
"[with cd="
<<
cd
<<
", i="
<<
i
<<
"]"
<<
" ... index(e)="
<<
id_e
<<
" ... index(e.entity<cd>(i))="
<<
id_e_i
<<
" ... subIndex(e,i)="
<<
subid_e_i
);
}
}
subIndexCheck
<
cd
-
1
,
Grid
,
Entity
,
Dune
::
Capabilities
::
hasEntity
<
Grid
,
cd
-
1
>::
v
>
sick
(
g
,
e
);
...
...
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