artisynth.core.mfreemodels
Class MFreeStiffnessWarper3d

java.lang.Object
  extended by artisynth.core.mfreemodels.MFreeStiffnessWarper3d

public class MFreeStiffnessWarper3d
extends java.lang.Object

Implements stiffness warping for a particular integration region.

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 Summary
MFreeStiffnessWarper3d(int numNodes)
           
 
Method Summary
 void addNodeForce(Vector3d f, boolean[][] active, int i, MFreeNode3d[] nodes, boolean warping, FemNodeNeighbor[] nbr)
           
 void addNodeStiffness(FemNodeNeighbor nbr, boolean[][] active, int i, int j, boolean warping)
           
 void addNodeStiffness(Matrix3d Kij, boolean[][] active, int i, int j, boolean warping)
           
 void computeInitialStiffness(MFreeElement3d e, double E, double nu)
           
 void computeRotation(Matrix3d F, SymmetricMatrix3d P)
           
 Matrix3d[][] getInitialStiffnesses()
           
 Matrix3d getRotation()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MFreeStiffnessWarper3d

public MFreeStiffnessWarper3d(int numNodes)
Method Detail

computeInitialStiffness

public void computeInitialStiffness(MFreeElement3d e,
                                    double E,
                                    double nu)

getInitialStiffnesses

public Matrix3d[][] getInitialStiffnesses()

getRotation

public Matrix3d getRotation()

computeRotation

public void computeRotation(Matrix3d F,
                            SymmetricMatrix3d P)

addNodeStiffness

public void addNodeStiffness(Matrix3d Kij,
                             boolean[][] active,
                             int i,
                             int j,
                             boolean warping)

addNodeStiffness

public void addNodeStiffness(FemNodeNeighbor nbr,
                             boolean[][] active,
                             int i,
                             int j,
                             boolean warping)

addNodeForce

public void addNodeForce(Vector3d f,
                         boolean[][] active,
                         int i,
                         MFreeNode3d[] nodes,
                         boolean warping,
                         FemNodeNeighbor[] nbr)