Sierra Toolkit  Version of the Day
PartRelation.hpp
1 #ifndef stk_mesh_PartRelation_hpp
2 #define stk_mesh_PartRelation_hpp
3 
4 #include <stk_mesh/base/Types.hpp>
5 
6 namespace stk_classic {
7 namespace mesh {
8 
9 class Part;
10 
15 //----------------------------------------------------------------------
33 struct PartRelation {
36 
39 
42 
43 #ifndef DOXYGEN_COMPILE
44 
45  ~PartRelation() {}
46 
47  PartRelation() : m_root( NULL ), m_target( NULL ), m_function( NULL ) {}
48 
49  PartRelation( const PartRelation & rhs )
50  : m_root( rhs.m_root ),
51  m_target( rhs.m_target ),
52  m_function( rhs.m_function ) {}
53 
54  PartRelation & operator = ( const PartRelation & rhs )
55  {
56  m_root = rhs.m_root ;
57  m_target = rhs.m_target ;
58  m_function = rhs.m_function ;
59  return *this ;
60  }
61 
62 #endif /* DOXYGEN_COMPILE */
63 
64 };
65 
68 } // namespace mesh
69 } // namespace stk_classic
70 
71 #endif // stk_mesh_PartRelation_hpp
Part * m_target
relation range part
An application-defined subset of a problem domain.
Definition: Part.hpp:49
Part * m_root
relation domain part
Sierra Toolkit.
relation_stencil_ptr m_function
relation stencil
A defined entity-relationship between parts. An internal class that should never need to be directly...
int(* relation_stencil_ptr)(unsigned from_type, unsigned to_type, unsigned identifier)
A relation stencil maps entity relationships to ordinals.
Definition: Types.hpp:149