Sierra Toolkit  Version of the Day
BoundaryAnalysis.hpp
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2010 Sandia Corporation. */
3 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4 /* license for use of this work by or on behalf of the U.S. Government. */
5 /* Export of this program may require a license from the */
6 /* United States Government. */
7 /*------------------------------------------------------------------------*/
8 
9 #ifndef stk_mesh_BoundaryAnalysis_hpp
10 #define stk_mesh_BoundaryAnalysis_hpp
11 
12 #include <vector>
13 
14 #include <stk_mesh/base/Types.hpp>
15 
16 #include <stk_util/util/NamedPair.hpp>
17 
18 struct CellTopologyData;
19 
20 namespace stk_classic {
21 namespace mesh {
22 
23 class BulkData;
24 class Entity;
25 
29 NAMED_PAIR(EntitySideComponent, Entity *, entity, unsigned, side_ordinal)
35 NAMED_PAIR(EntitySide, EntitySideComponent, inside, EntitySideComponent, outside)
36 
37 
40 typedef std::vector<EntitySide> EntitySideVector;
41 
42 typedef std::vector<EntitySideComponent> EntitySideComponentVector;
43 
49 void boundary_analysis(const BulkData & bulk_data,
50  const EntityVector & entities_closure,
51  EntityRank closure_rank,
52  EntitySideVector& boundary);
53 
54 
55 }
56 }
57 #endif
Sierra Toolkit.