Sierra Toolkit
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
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
70
71
#endif // stk_mesh_PartRelation_hpp
stk::mesh::PartRelation::m_root
Part * m_root
relation domain part
Definition:
PartRelation.hpp:35
stk
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
stk::mesh::PartRelation::m_target
Part * m_target
relation range part
Definition:
PartRelation.hpp:38
stk::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::PartRelation
A defined entity-relationship between parts. An internal class that should never need to be directly...
Definition:
PartRelation.hpp:33
stk::mesh::Part
An application-defined subset of a problem domain.
Definition:
Part.hpp:49
stk::mesh::PartRelation::m_function
relation_stencil_ptr m_function
relation stencil
Definition:
PartRelation.hpp:41
stk_mesh
stk_mesh
base
PartRelation.hpp
Generated by
1.8.11