public class SofterStericMesh extends StericMesh
| Constructor and Description |
|---|
SofterStericMesh(DeformableMesh3D id,
DeformableMesh3D neighbor,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getEffectiveNormal(double[] pt)
Finds the normal of the neighbor node nearest to the provided point.
|
double |
getEnergy(double[] pt) |
double[] |
getNormal(Integer i) |
void |
updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz) |
getNormal, updatepublic SofterStericMesh(DeformableMesh3D id, DeformableMesh3D neighbor, double weight)
public double[] getNormal(Integer i)
public void updateForces(double[] positions,
double[] fx,
double[] fy,
double[] fz)
updateForces in interface ExternalEnergyupdateForces in class StericMeshpublic double[] getEffectiveNormal(double[] pt)
pt - public double getEnergy(double[] pt)
getEnergy in interface ExternalEnergygetEnergy in class StericMeshCopyright © 2013–2022 Francis Crick Institute. All rights reserved.