public class HeightMapSurface extends Object implements ExternalEnergy
| Constructor and Description |
|---|
HeightMapSurface(double[][] heights,
double mag) |
| Modifier and Type | Method and Description |
|---|---|
void |
createHeighMapDataObject() |
double |
getEnergy(double[] pos) |
static void |
main(String[] args) |
void |
updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz) |
public void updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz)
updateForces in interface ExternalEnergypublic double getEnergy(double[] pos)
getEnergy in interface ExternalEnergypublic void createHeighMapDataObject()
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2013–2022 Francis Crick Institute. All rights reserved.