public class DoubleStorage1D extends Object implements VoxelArrayND
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
fdata |
| Constructor and Description |
|---|
DoubleStorage1D(double[] data) |
DoubleStorage1D(DoubleStorage1D data) |
| Modifier and Type | Method and Description |
|---|---|
VoxelArrayND |
copy() |
double |
get(int index) |
double[] |
get(int[] index) |
double[] |
getArray() |
int[] |
getInverseLocalIndex(int index) |
double[] |
getLocal(int localIndex) |
int |
getLocalIndex(int[] index) |
int |
getLocalStorageDim() |
int |
getValueDimension() |
void |
initialiseWithValue(double val) |
void |
set(int[] index,
double[] val) |
void |
set(int index,
double val) |
void |
setArray(double[] data) |
void |
setLocal(int localIndex,
double[] val) |
public DoubleStorage1D(double[] data)
public DoubleStorage1D(DoubleStorage1D data)
public VoxelArrayND copy()
copy in interface VoxelArrayNDpublic int getValueDimension()
getValueDimension in interface VoxelArrayNDpublic double[] getArray()
public void setArray(double[] data)
public double get(int index)
public void set(int index,
double val)
public double[] get(int[] index)
get in interface VoxelArrayNDpublic void set(int[] index,
double[] val)
set in interface VoxelArrayNDpublic double[] getLocal(int localIndex)
getLocal in interface VoxelArrayNDpublic void setLocal(int localIndex,
double[] val)
setLocal in interface VoxelArrayNDpublic int getLocalIndex(int[] index)
getLocalIndex in interface VoxelArrayNDpublic int[] getInverseLocalIndex(int index)
getInverseLocalIndex in interface VoxelArrayNDpublic int getLocalStorageDim()
getLocalStorageDim in interface VoxelArrayNDpublic void initialiseWithValue(double val)
initialiseWithValue in interface VoxelArrayNDCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.