Back to index

salome-med  6.5.0
Public Member Functions | Protected Attributes | Private Member Functions
INTERP_TEST::MultiElementTetraTests Class Reference

Class testing algorithm by intersecting meshes of several elements (all tetrahedra) - up to a few thousand. More...

#include <MultiElementTetraTests.hxx>

Inheritance diagram for INTERP_TEST::MultiElementTetraTests:
Inheritance graph
[legend]
Collaboration diagram for INTERP_TEST::MultiElementTetraTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void tetraComplexIncluded ()
 Tetrahedron situated totally inside another.
void dividedUnitTetraSimplerReflexive ()
 Unit tetrahedron divided in 4 elements intersecting itself.
void dividedUnitTetraReflexive ()
 Unit tetrahedron divided in 14 elements intersecting itself.
void nudgedDividedUnitTetraSimpler ()
 Unit tetrahedron divided in 4 elements intersecting slightly displaced version of itself.
void nudgedDividedUnitTetra ()
 Unit tetrahedron divided in 14 elements intersecting slightly displaced version of itself.
void dividedGenTetra ()
 Two intersecting tetrahedra in general position, one with 23 elements, the other with 643 elements.
void tinyBoxReflexive ()
 Large box in general position with 12 elements intersecting itself.
void boxReflexive ()
 Small box in general position with 33 elements intersecting itself.
void moderateBoxEvenSmallerReflexive ()
 Box in general position with 67 elements intersecting itself.
void moderateBoxSmallReflexive ()
 Box in general position with 544 elements intersecting itself.
void boxReflexiveModerate ()
 Large box in general position with 2943 elements intersecting itself.
void tetraBoxes ()
 Two intersecting boxes in general position with 12 and 18 elements.
void moderateBoxesSmaller ()
 Two intersecting boxes in general position with 430 and 544 elements.
void moderateBoxes ()
 Two intersecting boxes in general position with 2943 and 3068 elements.
void setUp ()
 Sets up the test suite.
void tearDown ()
 Cleans up after the test suite.

Protected Attributes

MeshTestToolkit< SPACEDIM,
MESHDIM > * 
_testTools
 MeshTestToolkit object to which the tests are delegated.

Private Member Functions

 CPPUNIT_TEST_SUITE (MultiElementTetraTests)
 CPPUNIT_TEST (tetraComplexIncluded)
 CPPUNIT_TEST (dividedUnitTetraSimplerReflexive)
 CPPUNIT_TEST (dividedUnitTetraReflexive)
 CPPUNIT_TEST (nudgedDividedUnitTetraSimpler)
 CPPUNIT_TEST (nudgedDividedUnitTetra)
 CPPUNIT_TEST (dividedGenTetra)
 CPPUNIT_TEST (tinyBoxReflexive)
 CPPUNIT_TEST (moderateBoxEvenSmallerReflexive)
 CPPUNIT_TEST (moderateBoxSmallReflexive)
 CPPUNIT_TEST (boxReflexive)
 CPPUNIT_TEST (boxReflexiveModerate)
 CPPUNIT_TEST (tetraBoxes)
 CPPUNIT_TEST (moderateBoxesSmaller)
 CPPUNIT_TEST (moderateBoxes)
 CPPUNIT_TEST_SUITE_END ()

Detailed Description

Class testing algorithm by intersecting meshes of several elements (all tetrahedra) - up to a few thousand.

This serves to check the filtering methods and the matrix assemblage, as well as verifying that computation errors do not become unmanageable. It uses mehes of different geometries : tetrahedra, boxes and cylinders.

Definition at line 35 of file MultiElementTetraTests.hxx.


Member Function Documentation

Small box in general position with 33 elements intersecting itself.

Status : pass

Definition at line 109 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("Box3",  "Box3", 13.9954);
    }

Large box in general position with 2943 elements intersecting itself.

Status : pass

Definition at line 130 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("Box1Moderate",  "Box1Moderate", 1.0e6);
    }

Two intersecting tetrahedra in general position, one with 23 elements, the other with 643 elements.

Status : pass

Definition at line 95 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("DividedGenTetra1",  "DividedGenTetra2", 0.546329);
    }

Unit tetrahedron divided in 14 elements intersecting itself.

Status : pass

Definition at line 74 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("DividedUnitTetra", "DividedUnitTetra", 0.1666667);
    }

Unit tetrahedron divided in 4 elements intersecting itself.

Status : pass

Definition at line 67 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("DividedUnitTetraSimpler", "DividedUnitTetraSimpler", 0.1666667);
    }

Two intersecting boxes in general position with 2943 and 3068 elements.

Status : pass

Definition at line 151 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("Box1Moderate",  "Box2Moderate", 376856);
    }

Two intersecting boxes in general position with 430 and 544 elements.

Status : pass

Definition at line 144 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("BoxModSmall1", "BoxModSmall2", 321853);
    }

Box in general position with 67 elements intersecting itself.

Status : pass

Definition at line 116 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("BoxEvenSmaller1", "BoxEvenSmaller1", 1.44018e6);
    }

Box in general position with 544 elements intersecting itself.

Status : pass

Definition at line 123 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("BoxModSmall1", "BoxModSmall1", 1.44018e6);
    }

Unit tetrahedron divided in 14 elements intersecting slightly displaced version of itself.

Status : pass

Definition at line 88 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("NudgedDividedUnitTetra", "DividedUnitTetra", 0.150191);
    }

Unit tetrahedron divided in 4 elements intersecting slightly displaced version of itself.

Status : pass

Definition at line 81 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("NudgedDividedUnitTetraSimpler", "DividedUnitTetraSimpler", 0.150191);
    }
void INTERP_TEST::InterpolationTestSuite< SPACEDIM, MESHDIM >::setUp ( ) [inline, inherited]

Sets up the test suite.

Creates the MeshTestToolkit object used by the tests.

Definition at line 44 of file InterpolationTestSuite.hxx.

    {
      _testTools = new MeshTestToolkit<SPACEDIM,MESHDIM>();
    }
void INTERP_TEST::InterpolationTestSuite< SPACEDIM, MESHDIM >::tearDown ( ) [inline, inherited]

Cleans up after the test suite.

Liberates the MeshTestToolkit object used by the tests.

Definition at line 53 of file InterpolationTestSuite.hxx.

    {
      delete _testTools;
    }

Two intersecting boxes in general position with 12 and 18 elements.

Status : pass

Definition at line 137 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("Box1", "Box2", 124.197);
    }

Tetrahedron situated totally inside another.

Status : pass

Definition at line 60 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("ComplexIncludedTetra", "ComplexIncludingTetra", 17.0156);
    }

Large box in general position with 12 elements intersecting itself.

Status : pass

Definition at line 102 of file MultiElementTetraTests.hxx.

    {
      _testTools->intersectMeshes("TinyBox", "TinyBox", 979200);
    }

Member Data Documentation

MeshTestToolkit<SPACEDIM,MESHDIM>* INTERP_TEST::InterpolationTestSuite< SPACEDIM, MESHDIM >::_testTools [protected, inherited]

MeshTestToolkit object to which the tests are delegated.

Definition at line 62 of file InterpolationTestSuite.hxx.


The documentation for this class was generated from the following file: