Sierra Toolkit Version of the Day
BoundaryAnalysis.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 stk_mesh_BoundaryAnalysis_hpp
00010 #define stk_mesh_BoundaryAnalysis_hpp
00011 
00012 #include <vector>
00013 
00014 #include <stk_mesh/base/Types.hpp>
00015 
00016 #include <stk_util/util/NamedPair.hpp>
00017 
00018 struct CellTopologyData;
00019 
00020 namespace stk {
00021 namespace mesh {
00022 
00023 class BulkData;
00024 class Entity;
00025 
00029 NAMED_PAIR(EntitySideComponent, Entity *, entity, unsigned, side_ordinal)
00035 NAMED_PAIR(EntitySide, EntitySideComponent, inside, EntitySideComponent, outside)
00036 
00040 typedef std::vector<EntitySide> EntitySideVector;
00041 
00042 typedef std::vector<EntitySideComponent> EntitySideComponentVector;
00043 
00049 void boundary_analysis(const BulkData & bulk_data,
00050                        const EntityVector & entities_closure,
00051                        EntityRank closure_rank,
00052                        EntitySideVector& boundary);
00053 
00054 
00055 }
00056 }
00057 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends