UnitTestRelation.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 
00010 #include <stk_mesh/base/Types.hpp>
00011 #include <stk_mesh/base/BulkData.hpp>
00012 
00013 //----------------------------------------------------------------------
00014 //----------------------------------------------------------------------
00015 
00016 namespace stk {
00017 namespace mesh {
00018 
00019 class UnitTestRelation {
00020 public:
00021   static void testRelation ( ParallelMachine );
00022 
00030   static void generate_loop( BulkData & mesh ,
00031                              const PartVector      & edge_parts , 
00032                              const bool              generate_aura , 
00033                              const unsigned          nPerProc ,
00034                              std::vector<EntityId> & node_ids ,
00035                              std::vector<EntityId> & edge_ids );
00036 
00046   static void generate_boxes( BulkData  & mesh ,
00047                               const bool  generate_aura ,
00048                               const int   root_box[][2] ,
00049                                     int   local_box[][2] );
00050 };
00051 
00052 }
00053 }
00054 

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