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 ExternalEnergy
public double getEnergy(double[] pos)
getEnergy
in interface ExternalEnergy
public void createHeighMapDataObject()
public static void main(String[] args) throws IOException
IOException
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.