Implements a reference to a grid element. More...
Classes | |
class | TValueComparator |
Sorts the grid elements according to the T value. | |
Public Member Functions | |
GridElementFloat (double[] values, int index) | |
double | getValue () |
Return the double value in the array of doubles for the specified index. More... | |
Public Attributes | |
int | _index |
Implements a reference to a grid element.
Implements a reference to a grid element
simulator.geometry.GridElementFloat.GridElementFloat | ( | double[] | values, |
int | index | ||
) |
Initialize a new grid element
values | Array of doubles to set the grid to |
index | Integer index to set the index to |
double simulator.geometry.GridElementFloat.getValue | ( | ) |
Return the double value in the array of doubles for the specified index.
Return the double value in the array of doubles for the specified index
int simulator.geometry.GridElementFloat._index |
Index to a location on a grid which relates to this element