public class FemMaterialTest extends UnitTest
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Matrix3d> |
getFTests(MaterialBase mat) |
static void |
main(java.lang.String[] args) |
void |
test()
Test method executed by runtest().
|
void |
testIncompressible(IncompressibleMaterialBase mat,
double tol) |
void |
testLinear(LinearMaterialBase mat,
double tol)
Performs tests on a linear material for a given deformation.
|
void |
testLinear(LinearMaterialBase mat,
Matrix3d F0,
double tol) |
void |
testStress(MaterialBase mat,
double tol)
Tests a material by comparing the computed stress matrix with the
numeric derivative of the same.
|
void |
testStress(MaterialBase mat,
Matrix3d F0,
double tol) |
void |
testTangent(MaterialBase mat,
double tol)
Tests a material by comparing the computed tangent matrix with the
numeric derivative of the same.
|
void |
testTangent(MaterialBase mat,
Matrix3d F0,
double tol) |
check, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkEquals, checkNormedEquals, checkNormedEquals, getSilent, printUsageAndExit, runtest, setSilent
public java.util.ArrayList<Matrix3d> getFTests(MaterialBase mat)
public void testLinear(LinearMaterialBase mat, double tol)
mat
- material to testtol
- tolerance for computing tests.public void testTangent(MaterialBase mat, double tol)
mat
- material to testtol
- tolerance by which the computed and numeric tangents
should match. Typically, this should be around 1e-8.public void testStress(MaterialBase mat, double tol)
mat
- material to testtol
- tolerance by which the computed and numeric stresses
should match. Typically, this should be around 1e-8.public void testLinear(LinearMaterialBase mat, Matrix3d F0, double tol)
public void testTangent(MaterialBase mat, Matrix3d F0, double tol)
public void testStress(MaterialBase mat, Matrix3d F0, double tol)
public void testIncompressible(IncompressibleMaterialBase mat, double tol)
public static void main(java.lang.String[] args)