EntityTypes.cpp

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

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