UnitTestBulkData.hpp

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_error( 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 testDestroy_nodes( ParallelMachine );
00031   static void testDestroy_loop( ParallelMachine );
00032 
00042   static void generate_boxes( BulkData  & mesh ,
00043                               const bool  generate_aura ,
00044                               const int   root_box[][2] ,
00045                                     int   local_box[][2] );
00046 
00047   static bool modification_end( BulkData & , bool );
00048 };
00049 
00050 }
00051 }
00052 
00053 #endif // unit_tests_UnitTestBulkData_hpp

Generated on Tue Jul 13 09:27:32 2010 for Sierra Toolkit by  doxygen 1.4.7