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, update
public 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 ExternalEnergy
updateForces
in class StericMesh
public double[] getEffectiveNormal(double[] pt)
pt
- public double getEnergy(double[] pt)
getEnergy
in interface ExternalEnergy
getEnergy
in class StericMesh
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.