public class StiffnessWarper3d
extends java.lang.Object
Note: it is important that all these methods are called from the same (simulation) thread. In particular, they should not be called by methods activated by the GUI.
Constructor and Description |
---|
StiffnessWarper3d(int numNodes) |
Modifier and Type | Method and Description |
---|---|
void |
addNodeForce(Vector3d f,
int i,
FemNode3d[] nodes,
boolean warping) |
void |
addNodeForce0(Vector3d f,
int i,
boolean warping) |
void |
addNodeForce0(VectorNd f,
int offset,
int i,
boolean warping) |
void |
addNodeStiffness(FemNodeNeighbor nbr,
int i,
int j,
boolean warping) |
void |
addNodeStiffness(Matrix3d Kij,
int i,
int j,
boolean warping) |
void |
computeInitialStiffness(FemElement3d e,
double E,
double nu) |
void |
computeRotation(Matrix3d F,
SymmetricMatrix3d P) |
void |
computeWarping(FemNode3d n0,
FemNode3d n1,
FemNode3d n2,
FemNode3d n3) |
double |
getConditionNum() |
void |
setInitialJ(FemNode3d n0,
FemNode3d n1,
FemNode3d n2,
FemNode3d n3) |
public void computeInitialStiffness(FemElement3d e, double E, double nu)
public double getConditionNum()
public void computeRotation(Matrix3d F, SymmetricMatrix3d P)
public void addNodeStiffness(Matrix3d Kij, int i, int j, boolean warping)
public void addNodeStiffness(FemNodeNeighbor nbr, int i, int j, boolean warping)
public void addNodeForce0(Vector3d f, int i, boolean warping)
public void addNodeForce0(VectorNd f, int offset, int i, boolean warping)