artisynth.core.femmodels
Class StiffnessTest

java.lang.Object
  extended by artisynth.core.femmodels.StiffnessTest

public class StiffnessTest
extends java.lang.Object

Tests the stiffness matrix for a tet element.


Constructor Summary
StiffnessTest()
           
 
Method Summary
 double getDeltaVolume()
           
 MatrixNd getGeometricStiffness()
           
 MatrixNd getNumericalGeometricStiffness(double h)
           
 MatrixNd getNumericalMaterialStiffness(double h)
           
 MatrixNd getNumericalStiffness(double h)
           
 Vector3d[] getShapeGradient()
           
 SymmetricMatrix3d getStress()
           
static void main(java.lang.String[] args)
           
 void testMaterial(FemMaterial mat)
           
 void testMuscleMaterial(MuscleMaterial mat, Vector3d dir, double excitation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiffnessTest

public StiffnessTest()
Method Detail

getShapeGradient

public Vector3d[] getShapeGradient()

getDeltaVolume

public double getDeltaVolume()

getStress

public SymmetricMatrix3d getStress()

getGeometricStiffness

public MatrixNd getGeometricStiffness()

getNumericalGeometricStiffness

public MatrixNd getNumericalGeometricStiffness(double h)

getNumericalMaterialStiffness

public MatrixNd getNumericalMaterialStiffness(double h)

getNumericalStiffness

public MatrixNd getNumericalStiffness(double h)

testMaterial

public void testMaterial(FemMaterial mat)

testMuscleMaterial

public void testMuscleMaterial(MuscleMaterial mat,
                               Vector3d dir,
                               double excitation)

main

public static void main(java.lang.String[] args)