Sierra Toolkit
Version of the Day
FieldRelation.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
10
#ifndef stk_mesh_FieldRelation_hpp
11
#define stk_mesh_FieldRelation_hpp
12
13
namespace
stk_classic
{
14
namespace
mesh {
15
16
class
FieldBase;
17
18
//----------------------------------------------------------------------
74
struct
FieldRelation
{
76
FieldBase
*
m_root
;
77
79
FieldBase
*
m_target
;
80
82
relation_stencil_ptr
m_function
;
83
84
#ifndef DOXYGEN_COMPILE
85
86
FieldRelation
() :
m_root
( NULL ),
m_target
( NULL ),
m_function
( NULL ) {}
87
88
FieldRelation
(
const
FieldRelation
& rhs )
89
:
m_root
( rhs.
m_root
),
90
m_target
( rhs.
m_target
),
91
m_function
( rhs.
m_function
) {}
92
93
FieldRelation & operator = (
const
FieldRelation & rhs )
94
{
95
m_root
= rhs.m_root ;
96
m_target
= rhs.m_target ;
97
m_function
= rhs.m_function ;
98
return
*this ;
99
}
100
101
#endif
/* DOXYGEN_COMPILE */
102
};
103
104
}
// namespace mesh
105
}
// namespace stk_classic
106
107
#endif //stk_mesh_FieldRelation_hpp
stk_classic::mesh::FieldRelation::m_target
FieldBase * m_target
relation range part
Definition:
FieldRelation.hpp:79
stk_classic::mesh::FieldBase
Field base class with an anonymous data type and anonymous multi-dimension.
Definition:
FieldBase.hpp:53
stk_classic::mesh::FieldRelation::m_root
FieldBase * m_root
relation domain part
Definition:
FieldRelation.hpp:76
stk_classic
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
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_classic::mesh::FieldRelation::m_function
relation_stencil_ptr m_function
relation stencil
Definition:
FieldRelation.hpp:82
stk_classic::mesh::FieldRelation
A defined entity-relationship between a field of a pointer type and the field that it should point to...
Definition:
FieldRelation.hpp:74
stk_mesh
stk_mesh
base
FieldRelation.hpp
Generated by
1.8.14