KrisLibrary  1.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
Geometry::GridTable< T > Class Template Reference

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
 

Detailed Description

template<class T>
class Geometry::GridTable< T >

A table with entry T on a gridding of n-dimensional space.

Indices run from imin to imax, inclusive.


The documentation for this class was generated from the following file: