public class VectorField
extends java.lang.Object
| Constructor and Description |
|---|
VectorField(int dim,
int[] gridSizes) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
elementAt(int[] index) |
void |
setElementAt(int[] index,
double[] vector)
Sets element with a given multiindex to a given vector.
|
public VectorField(int dim,
int[] gridSizes)
dim - Dimensionpublic double[] elementAt(int[] index)
index - Multiindex of the vector field entrypublic void setElementAt(int[] index,
double[] vector)
index - Multiindex of the vector field entry.vector - The value to set to.