Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
John Apostolakis
VecGeom
Commits
ed7ffa38
Commit
ed7ffa38
authored
Jul 26, 2021
by
Andrei Gheata
Browse files
Added accessors for navigation state index.
parent
0962a88f
Changes
1
Hide whitespace changes
Inline
Side-by-side
VecGeom/navigation/NavStateIndex.h
View file @
ed7ffa38
...
...
@@ -100,6 +100,14 @@ public:
return
sizeof
(
NavStateIndex
);
}
VECCORE_ATT_HOST_DEVICE
VECGEOM_FORCE_INLINE
NavIndex_t
GetNavIndex
()
const
{
return
fNavInd
;
}
VECCORE_ATT_HOST_DEVICE
VECGEOM_FORCE_INLINE
void
SetNavIndex
(
NavIndex_t
ind
)
{
fNavInd
=
ind
;
}
VECCORE_ATT_HOST_DEVICE
int
GetObjectSize
()
const
{
return
(
int
)
sizeof
(
NavStateIndex
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment