Version: 6.3.1
Public Member Functions | Private Member Functions

INTERP_TEST.SingleElementTetraTests Class Reference

Class testing algorithm by intersecting simple meshes having only one element each. More...

#include <SingleElementTetraTests.hxx>

Inheritance diagram for INTERP_TEST.SingleElementTetraTests:
Inheritance graph

Public Member Functions

void tetraReflexiveUnit ()
 Unit tetrahedron mesh intersecting itself.
void tetraReflexiveGeneral ()
 Tetrahedron mesh with itself.
void tetraNudged ()
 Unit tetrahedron mesh intersecting slightly displaced copy of itself.
void tetraNudgedSimpler ()
 Single-element unit tetrahedron mesh intersecting even slightly displaced (along one axis only) copy of itself.
void tetraCorner ()
 Tetrahedron intersecting unit tetrahedron with in non-degenerate way around corner O.
void tetraSimpleIncluded ()
 Tetrahedron situated totally inside another.
void tetraDegenEdge ()
 Displaced unit tetrahedron intersecting another unit tetrahedron with which it shares an edge.
void tetraDegenFace ()
 Displaced unit tetrahedron intersecting another unit tetrahedron with which it shares a face.
void tetraDegenTranslatedInPlane ()
 Displaced unit tetrahedron intersecting another unit tetrahedron with which it shares a part of the face XYZ.
void tetraHalfstripOnly ()
 Tetrahedron having only half-strip intersections with the unit tetrahedron.
void tetraHalfstripOnly2 ()
 Tetrahedron having only half-strip intersections with the unit tetrahedron.
void tetraSimpleHalfstripOnly ()
 Tetrahedron having only half-strip intersections with the unit tetrahedron.
void generalTetra ()
 Two intersecting tetrahedra situated in a general position in space.
void trickyTetra1 ()
 Tetrahedron which is in a tricky position relative to unit tetrahedron.
void inconsistentTetra ()
 Two large tetrahedra which nearly share part of an edge and intersect at the origin.

Private Member Functions

 CPPUNIT_TEST_SUITE (SingleElementTetraTests)
 CPPUNIT_TEST (tetraReflexiveUnit)
 CPPUNIT_TEST (tetraReflexiveGeneral)
 CPPUNIT_TEST (tetraNudgedSimpler)
 CPPUNIT_TEST (tetraNudged)
 CPPUNIT_TEST (tetraCorner)
 CPPUNIT_TEST (tetraSimpleIncluded)
 CPPUNIT_TEST (tetraDegenEdge)
 CPPUNIT_TEST (tetraDegenFace)
 CPPUNIT_TEST (tetraDegenTranslatedInPlane)
 CPPUNIT_TEST (tetraHalfstripOnly)
 CPPUNIT_TEST (tetraHalfstripOnly2)
 CPPUNIT_TEST (tetraSimpleHalfstripOnly)
 CPPUNIT_TEST (generalTetra)
 CPPUNIT_TEST (trickyTetra1)
 CPPUNIT_TEST_SUITE_END ()

Detailed Description

Class testing algorithm by intersecting simple meshes having only one element each.

This serves mainly to verify that the volume calculations between elements is correct.


Member Function Documentation

INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST_SUITE ( SingleElementTetraTests  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraReflexiveUnit  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraReflexiveGeneral  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraNudgedSimpler  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraNudged  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraCorner  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraSimpleIncluded  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraDegenEdge  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraDegenFace  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraDegenTranslatedInPlane  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraHalfstripOnly  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraHalfstripOnly2  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( tetraSimpleHalfstripOnly  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( generalTetra  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST ( trickyTetra1  ) [private]
INTERP_TEST.SingleElementTetraTests.CPPUNIT_TEST_SUITE_END ( ) [private]
void INTERP_TEST.SingleElementTetraTests.tetraReflexiveUnit ( )

Unit tetrahedron mesh intersecting itself.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraReflexiveGeneral ( )

Tetrahedron mesh with itself.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraNudged ( )

Unit tetrahedron mesh intersecting slightly displaced copy of itself.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraNudgedSimpler ( )

Single-element unit tetrahedron mesh intersecting even slightly displaced (along one axis only) copy of itself.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraCorner ( )

Tetrahedron intersecting unit tetrahedron with in non-degenerate way around corner O.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraSimpleIncluded ( )

Tetrahedron situated totally inside another.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraDegenEdge ( )

Displaced unit tetrahedron intersecting another unit tetrahedron with which it shares an edge.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraDegenFace ( )

Displaced unit tetrahedron intersecting another unit tetrahedron with which it shares a face.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraDegenTranslatedInPlane ( )

Displaced unit tetrahedron intersecting another unit tetrahedron with which it shares a part of the face XYZ.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraHalfstripOnly ( )

Tetrahedron having only half-strip intersections with the unit tetrahedron.

Status : pass, but does not really test what it should - does not check that the intersections are detected. No longer needed.

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraHalfstripOnly2 ( )

Tetrahedron having only half-strip intersections with the unit tetrahedron.

Status : pass, but does not really test what it should - does not check that the intersections are detected. No longer needed.

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.tetraSimpleHalfstripOnly ( )

Tetrahedron having only half-strip intersections with the unit tetrahedron.

Status : pass, but does not really test what it should - does not check that the intersections are detected. No longer needed.

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.generalTetra ( )

Two intersecting tetrahedra situated in a general position in space.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.trickyTetra1 ( )

Tetrahedron which is in a tricky position relative to unit tetrahedron.

Status : pass

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

void INTERP_TEST.SingleElementTetraTests.inconsistentTetra ( )

Two large tetrahedra which nearly share part of an edge and intersect at the origin.

Created with goal of getting the as-of-yet uncovered "consistency" test part of the correction of double products covered. However, it does not succeed with this. Status : fails, but is quite far-fetched as far as typical use cases are concerned

References INTERP_TEST.InterpolationTestSuite< 3, 3 >._testTools.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS