|
Sierra Toolkit Version of the Day
|
00001 /*------------------------------------------------------------------------*/ 00002 /* Copyright 2010 Sandia Corporation. */ 00003 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */ 00004 /* license for use of this work by or on behalf of the U.S. Government. */ 00005 /* Export of this program may require a license from the */ 00006 /* United States Government. */ 00007 /*------------------------------------------------------------------------*/ 00008 00009 #ifndef unit_tests_UnitTestBulkData_hpp 00010 #define unit_tests_UnitTestBulkData_hpp 00011 00012 #include <stk_mesh/base/Types.hpp> 00013 #include <stk_mesh/base/BulkData.hpp> 00014 00015 //---------------------------------------------------------------------- 00016 //---------------------------------------------------------------------- 00017 00018 namespace stk { 00019 namespace mesh { 00020 00021 class UnitTestBulkData { 00022 public: 00023 static void testBulkData( ParallelMachine ); 00024 static void testCreateMore( ParallelMachine ); 00025 static void testChangeOwner_nodes( ParallelMachine ); 00026 static void testChangeOwner_loop( ParallelMachine ); 00027 static void testChangeOwner_box( ParallelMachine ); 00028 static void testChangeParts( ParallelMachine ); 00029 static void testChangeParts_loop( ParallelMachine ); 00030 static void testModifyPropagation( ParallelMachine ); 00031 static void testDestroy_nodes( ParallelMachine ); 00032 static void testDestroy_loop( ParallelMachine ); 00033 00043 static void generate_boxes( BulkData & mesh , 00044 const bool generate_aura , 00045 const int root_box[][2] , 00046 int local_box[][2] ); 00047 00048 static bool modification_end( BulkData & , bool ); 00049 }; 00050 00051 } 00052 } 00053 00054 #endif // unit_tests_UnitTestBulkData_hpp