KrisLibrary
1.0.0
|
A table with entry T on a gridding of n-dimensional space. More...
#include <GridTable.h>
Public Types | |
typedef Grid::Index | Index |
Public Member Functions | |
GridTable (int numDims, Real h=1) | |
GridTable (const Vector &h) | |
void | Clear () |
void | Init (const Index &imin, const Index &imax) |
void | Set (const T &val) |
T & | operator[] (const Index &i) |
const T & | operator[] (const Index &i) const |
int | ElementIndex (const Index &i) const |
Public Attributes | |
Grid | grid |
Index | imin |
Index | imax |
vector< T > | values |
A table with entry T on a gridding of n-dimensional space.
Indices run from imin to imax, inclusive.