|
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 stk_mesh_GetBucket_hpp 00010 #define stk_mesh_GetBucket_hpp 00011 00012 //---------------------------------------------------------------------- 00013 00014 #include <iosfwd> 00015 #include <stk_mesh/base/Types.hpp> 00016 #include <stk_mesh/base/Selector.hpp> 00017 00018 //---------------------------------------------------------------------- 00019 00020 namespace stk { 00021 namespace mesh { 00022 00027 //---------------------------------------------------------------------- 00028 00029 /* \brief Select buckets from the input to the output. */ 00030 void get_buckets( const Selector & selector , 00031 const std::vector< Bucket * > & input , 00032 std::vector< Bucket * > & output ); 00033 00034 00035 /* \brief Get the parts from the union part vector that the bucket is 00036 * contained in. 00037 */ 00038 void get_involved_parts( 00039 const PartVector & union_parts, 00040 const Bucket & candidate, 00041 PartVector & involved_parts 00042 ); 00043 00044 //---------------------------------------------------------------------- 00047 } // namespace mesh 00048 } // namespace stk 00049 00050 //---------------------------------------------------------------------- 00051 //---------------------------------------------------------------------- 00052 00053 #endif 00054