Sierra Toolkit
Version of the Day
Field.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_Field_hpp
11
#define stk_mesh_Field_hpp
12
13
//----------------------------------------------------------------------
14
15
#include <stk_mesh/base/FieldBase.hpp>
16
#include <stk_mesh/base/FieldRelation.hpp>
17
#include <stk_mesh/base/FieldTraits.hpp>
18
19
//----------------------------------------------------------------------
20
21
namespace
stk_classic
{
22
namespace
mesh {
23
112
// Implementation Details:
113
// The template arguments below describe the field type. Scalar is the scalar
114
// type of data contained by the field. The TagN describe each dimension of the
115
// Field, these are expected to be ArrayDimTags. Unused dimensions can be ignored.
116
template
<
typename
Scalar ,
class
Tag1 ,
class
Tag2 ,
class
Tag3 ,
class
Tag4 ,
117
class
Tag5 ,
class
Tag6 ,
class
Tag7 >
118
class
Field
:
public
FieldBase
{
119
public
:
120
122
Field
&
field_of_state
(
FieldState
input_state )
const
{
123
return
static_cast<Field &>( * FieldBase::field_state(input_state) );
124
}
125
126
private
:
127
128
#ifndef DOXYGEN_COMPILE
129
130
~
Field
();
131
Field
();
132
Field
(
const
Field
& );
133
Field
& operator = (
const
Field
& );
134
135
#endif
/* DOXYGEN_COMPILE */
136
};
137
138
}
// namespace mesh
139
}
// namespace stk_classic
140
141
#endif
/* stk_mesh_Field_hpp */
142
stk_classic::mesh::FieldBase
Field base class with an anonymous data type and anonymous multi-dimension.
Definition:
FieldBase.hpp:53
stk_classic::mesh::Field
Field with defined data type and multi-dimensions (if any)
Definition:
Field.hpp:118
stk_classic
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
stk_classic::mesh::Field::field_of_state
Field & field_of_state(FieldState input_state) const
Query this field for a given field state.
Definition:
Field.hpp:122
stk_classic::mesh::FieldState
FieldState
Enumeration of states for multi-state fields.
Definition:
FieldState.hpp:34
stk_mesh
stk_mesh
base
Field.hpp
Generated by
1.8.16