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

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

Merge branch 'fix-vector-leaf-index' into 'master'

ref:core/dune-grid It is used to store certain leaf indices, so let's call it
'leafIndex'.

See merge request [!361]

  [!361]: gitlab.dune-project.org/core/dune-grid/merge_requests/361
parents eebcb646 0fee2ef7
No related branches found
No related tags found
1 merge request!361[uggrid] The Vector::skip field has been renamed
Pipeline #22212 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