public class FemMaterialTest extends UnitTest
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
test()
Test method executed by runtest().
|
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 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 testTangent(MaterialBase mat, Matrix3d F0, double tol)
public static void main(java.lang.String[] args)