MOAB: Mesh Oriented datABase  (version 5.2.1)
ElemSampleQMTest Class Reference
+ Inheritance diagram for ElemSampleQMTest:
+ Collaboration diagram for ElemSampleQMTest:

Public Member Functions

void test_handle_from_sample ()

Private Member Functions

 CPPUNIT_TEST (test_handle_from_sample)

Detailed Description

Definition at line 38 of file ElemSampleQMTest.cpp.

Member Function Documentation

Definition at line 60 of file ElemSampleQMTest.cpp.

References MBMesquite::ElemSampleQM::MAX_ELEM_PER_PATCH, MBMesquite::Sample::SIDE_DIMENSON_MASK, MBMesquite::Sample::SIDE_NUMBER_MASK, and test_handle().

    Sample min_sample_no( 0, 0 );
    Sample max_sample_no( Sample::SIDE_DIMENSON_MASK, Sample::SIDE_NUMBER_MASK );
    size_t min_elem_no = 0;
    size_t max_elem_no = ElemSampleQM::MAX_ELEM_PER_PATCH - 1;

    test_handle( min_sample_no, min_elem_no );
    test_handle( min_sample_no, max_elem_no );
    test_handle( max_sample_no, min_elem_no );
    test_handle( max_sample_no, max_elem_no );

List of all members.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines