public class AxialMaterialTest extends UnitTest
Modifier and Type | Method and Description |
---|---|
void |
checkDfdl(AxialMaterial mat,
double l,
double ldot,
double l0,
double ex,
double maxval,
double tol) |
void |
checkDfdldot(AxialMaterial mat,
double l,
double ldot,
double l0,
double ex,
double maxval,
double tol) |
static void |
main(java.lang.String[] args) |
void |
test()
Test method executed by runtest().
|
void |
testAxialLigament(double tol) |
void |
testBlankevoort1991Ligament(double tol) |
void |
testDfdldotOverRange(AxialMaterial mat,
double lmin,
double lmax,
double vmin,
double vmax,
double l0,
double ex,
double tol) |
void |
testDfdlOverRange(AxialMaterial mat,
double lmin,
double lmax,
double vmin,
double vmax,
double l0,
double ex,
double tol) |
void |
testHill3ElemMuscleRigidTendon(double tol) |
void |
testMaterial(AxialMaterial mat,
AxialMaterial matdot,
double l,
double ldot,
double l0,
double ex,
double tol)
Tests a material by comparing the computed derivatives with the numeric
derivative of the same.
|
void |
testMaterial(AxialMaterial mat,
double l0,
double ex,
double tol) |
void |
testMaterial(AxialMaterial mat,
double l,
double ldot,
double l0,
double ex,
double tol)
Tests a material by comparing the computed derivatives with the numeric
derivative of the same.
|
void |
testMillard2012AxialMuscle(double tol) |
void |
testMillard2012AxialTendon(double tol) |
void |
testThelen2003AxialMuscle(double tol) |
check, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkNormedEquals, checkNormedEquals, getSilent, printUsageAndExit, runtest, setSilent
public void checkDfdldot(AxialMaterial mat, double l, double ldot, double l0, double ex, double maxval, double tol)
public void checkDfdl(AxialMaterial mat, double l, double ldot, double l0, double ex, double maxval, double tol)
public void testMaterial(AxialMaterial mat, double l0, double ex, double tol)
public void testDfdlOverRange(AxialMaterial mat, double lmin, double lmax, double vmin, double vmax, double l0, double ex, double tol)
public void testDfdldotOverRange(AxialMaterial mat, double lmin, double lmax, double vmin, double vmax, double l0, double ex, double tol)
public void testMaterial(AxialMaterial mat, AxialMaterial matdot, double l, double ldot, double l0, double ex, double tol)
mat
- material to test for dFdlmatdot
- material to test for dFdldottol
- tolerance by which the computed and numeric derivatives should
match. Typically, this should be around 1e-8.public void testMaterial(AxialMaterial mat, double l, double ldot, double l0, double ex, double tol)
mat
- material to testtol
- tolerance by which the computed and numeric derivatives should
match. Typically, this should be around 1e-8.public void testMillard2012AxialTendon(double tol)
public void testThelen2003AxialMuscle(double tol)
public void testMillard2012AxialMuscle(double tol)
public void testBlankevoort1991Ligament(double tol)
public void testAxialLigament(double tol)
public void testHill3ElemMuscleRigidTendon(double tol)
public static void main(java.lang.String[] args)