Back to index

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

Class performing intersection tests on meshes with hexahedral elements. More...

#include <HexaTests.hxx>

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

List of all members.

Public Member Functions

void simpleHexaBox ()
 Intersection between two boxes, aligned with the axes.One has 60 hexahedral elements and the other has 39 tetrahedral elements.
void reflexiveHexaBox ()
 Intersection of a box with 60 hexahedral elements with itself.
void hexaBoxes ()
 Intersection between two boxes, aligned with the axes.Both have hexahedral elements : one 36, the other 60.
void hexaBoxesMoved ()
 Intersection between two boxes in general position with hexahedral elements. One has 200 elements and the other 420.
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 (HexaTests)
 CPPUNIT_TEST (simpleHexaBox)
 CPPUNIT_TEST (hexaBoxes)
 CPPUNIT_TEST (hexaBoxesMoved)
 CPPUNIT_TEST_SUITE_END ()

Detailed Description

Class performing intersection tests on meshes with hexahedral elements.

Definition at line 31 of file HexaTests.hxx.


Member Function Documentation

Intersection between two boxes, aligned with the axes.Both have hexahedral elements : one 36, the other 60.

Status : pass

Definition at line 62 of file HexaTests.hxx.

    {
      _testTools->intersectMeshes("BoxHexa1", "BoxHexa2", 65250);
    }

Intersection between two boxes in general position with hexahedral elements. One has 200 elements and the other 420.

Status : fails - reason unknown. The matrix does not fulfil the transpose requirement : that W_AB = W_BA^T

Definition at line 69 of file HexaTests.hxx.

    {
      _testTools->intersectMeshes("MovedHexaBox1", "MovedHexaBox2", 65250);
    }

Intersection of a box with 60 hexahedral elements with itself.

Status : pass

Definition at line 55 of file HexaTests.hxx.

    {
      _testTools->intersectMeshes("BoxHexa1", "BoxHexa1", 204000);
    }
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>();
    }

Intersection between two boxes, aligned with the axes.One has 60 hexahedral elements and the other has 39 tetrahedral elements.

Status : pass

Definition at line 48 of file HexaTests.hxx.

    {
      _testTools->intersectMeshes("BoxHexa1", "BoxTetra2", 65250, 1.0e-5);
    }
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;
    }

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: