|
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 00010 #include <stk_mesh/fem/EntityRanks.hpp> 00011 00012 namespace stk { 00013 namespace mesh { 00014 00015 // DEPRECATED: 09/15/10 FEM TopologicalMetaData refactor 00016 const std::vector<std::string> & fem_entity_rank_names() 00017 { 00018 static std::vector<std::string> names ; 00019 if ( names.empty() ) { 00020 names.resize( 6 ); 00021 names[0].assign( "NODE" ); 00022 names[1].assign( "EDGE" ); 00023 names[2].assign( "FACE" ); 00024 names[3].assign( "ELEMENT" ); 00025 names[4].assign( "PARTICLE" ); 00026 names[5].assign( "CONSTRAINT" ); 00027 } 00028 return names ; 00029 } 00030 00031 }//namespace mesh 00032 }//namespace stk 00033