Skip to content
Snippets Groups Projects
Commit 0fee2ef7 authored by Oliver Sander's avatar Oliver Sander
Browse files

[uggrid] The Vector::skip field has been renamed

It is used to store certain leaf indices, so let's call it
'leafIndex'.
parent eebcb646
No related branches found
No related tags found
1 merge request!361[uggrid] The Vector::skip field has been renamed
Pipeline #22210 passed
......@@ -788,16 +788,12 @@ namespace Dune {
//! Gets the leaf index of a UG sidevector
static UG::UINT& leafIndex(Vector* theVector) {
// theVector->skip is actually something other than an index.
// We use it anyways.
return theVector->skip;
return theVector->leafIndex;
}
//! Gets the leaf index of a UG sidevector
static const UG::UINT& leafIndex(const Vector* theVector) {
// theVector->skip is actually something other than an index.
// We use it anyways.
return theVector->skip;
return theVector->leafIndex;
}
//! Gets the leaf index of a UG edge
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment