Task #3072
Use gmx::index for indexing instead of int
Status:
New
Priority:
Normal
Assignee:
Category:
core library
Target version:
Difficulty:
uncategorized
Description
The introduction of gmx::index (aka ptrdiff_t) as result of the discussion in #2010 "Use size_t instead of int for indexing" requires actual complete implementation. The co-existence of both leads to extra code at the interface of those data structures using int and those using gmx::index.
Checklist
- pull code
- interactive MD
- ion swapping module
- edsam
- local atom sets based on gmx::index
- index groups in grompp
History
#1 Updated by Szilárd Páll 3 months ago
Christian Blau wrote:
The introduction of gmx::index (aka ptrdiff_t) as result of the discussion in #2010 "Use size_t instead of int for indexing" requires actual complete implementation. The co-existence of both leads to extra code at the interface of those data structures using int and those using gmx::index.
I suggest to have the issue cover size_t as well which has leaked into the code quite significantly (>3k occurrances).