public class NodeAttractor extends Object implements ExternalEnergy
| Constructor and Description |
|---|
NodeAttractor(Node3D node,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
double |
getEnergy(double[] pos) |
void |
updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz) |
public NodeAttractor(Node3D node, double weight)
public void updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz)
updateForces in interface ExternalEnergypublic double getEnergy(double[] pos)
getEnergy in interface ExternalEnergyCopyright © 2013–2022 Francis Crick Institute. All rights reserved.