votca 2024.2-dev
|
This class transforms a pair of indices v,c into a compound index I, via I=ctotal*v+c the fast dimension is c. If you have a choice iterate over c and v not over I. More...
#include <vc2index.h>
Public Member Functions | |
vc2index (Index vmin, Index cmin, Index ctotal) | |
Index | I (Index v, Index c) const |
Index | v (Index index) const |
Index | c (Index index) const |
Private Attributes | |
Index | vmin_ |
Index | cmin_ |
Index | ctotal_ |
This class transforms a pair of indices v,c into a compound index I, via I=ctotal*v+c the fast dimension is c. If you have a choice iterate over c and v not over I.
Definition at line 36 of file vc2index.h.
Definition at line 39 of file vc2index.h.
Definition at line 48 of file vc2index.h.
Definition at line 42 of file vc2index.h.
Definition at line 46 of file vc2index.h.
|
private |
Definition at line 52 of file vc2index.h.
|
private |
Definition at line 53 of file vc2index.h.
|
private |
Definition at line 51 of file vc2index.h.