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
{
35
Part
*
m_root
;
36
38
Part
*
m_target
;
39
41
relation_stencil_ptr
m_function
;
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
stk_classic::mesh::PartRelation::m_target
Part * m_target
relation range part
Definition:
PartRelation.hpp:38
stk_classic::mesh::Part
An application-defined subset of a problem domain.
Definition:
Part.hpp:49
stk_classic::mesh::PartRelation::m_root
Part * m_root
relation domain part
Definition:
PartRelation.hpp:35
stk_classic
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
stk_classic::mesh::PartRelation::m_function
relation_stencil_ptr m_function
relation stencil
Definition:
PartRelation.hpp:41
stk_classic::mesh::PartRelation
A defined entity-relationship between parts. An internal class that should never need to be directly...
Definition:
PartRelation.hpp:33
stk_classic::mesh::relation_stencil_ptr
int(* relation_stencil_ptr)(unsigned from_type, unsigned to_type, unsigned identifier)
A relation stencil maps entity relationships to ordinals.
Definition:
Types.hpp:149
stk_mesh
stk_mesh
base
PartRelation.hpp
Generated by
1.8.14