test_add_element (method)

class unittest_add_element(methodName='runTest')[source]

Bases: unittest.case.TestCase

unittest for add_element methods in Mesh and Element classes

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_Mesh_ElementMat_1seg()[source]

unittest with ElementMat and only 1 segment element

test_Mesh_ElementMat_2elem()[source]

unittest with ElementMat and 2 segment element

test_Mesh_ElementMat_2elem_1tgl()[source]

unittest with ElementMat and 2 segment element and 1 triangle

test_Mesh_ElementMat_2elem_1tgl_add_seg_exist()[source]

unittest with ElementMat and 2 segment element and 1 triangle, try to add an already existing segment.

test_Mesh_ElementMat_2elem_1tgl_add_tgl_exist()[source]

unittest with ElementMat and 2 segment element and 1 triangle, try to add an already existing triangle.

test_Mesh_ElementMat_2elem_2tgl()[source]

unittest with ElementMat and 2 segment element and 1 triangle, add 1 triangle.

test_Mesh_ElementMat_2elem_2tgl_add_tgl_group()[source]

unittest with ElementMat and 2 segment element and 1 triangle, add 1 triangle with a group number.

test_Mesh_ElementMat_add_stupid()[source]

unittest with ElementMat and 2 segment element and 1 triangle, add 1 triangle with a group number.