|
QDP++
|
#include <qdp_map.h>
Public Member Functions | |
| virtual | ~ArrayMapFunc () |
| Virtual destructor - no cleanup needed. | |
| virtual multi1d< int > | operator() (const multi1d< int > &coordinate, int sign, int dir) const =0 |
| Maps a lattice coordinate under a map to a new lattice coordinate. | |
| virtual int | numArray () const =0 |
| Returns the array size - the number of directions which are to be used. | |
Abstract base class used as a function object for constructing maps
|
inlinevirtual |
|
pure virtual |
Returns the array size - the number of directions which are to be used.
Implemented in QDP::NearestNeighborMapFunc.
Referenced by QDP::ArrayBiDirectionalMap::make(), and QDP::ArrayMap::make().
|
pure virtual |
Maps a lattice coordinate under a map to a new lattice coordinate.
sign > 0 for map, sign < 0 for the inverse map
Implemented in QDP::NearestNeighborMapFunc.