Adpator for element-wise data container. More...
#include <RFC_Window_base.h>
Public Types | |
typedef _Cont::Base_type | Base_type |
typedef _Cont::Value | Value |
typedef _Cont::Value_nonconst | Value_nonconst |
typedef _Cont::Value_const | Value_const |
typedef unsigned int | Size |
typedef _Cont::Value | Value |
typedef _Cont::Value_nonconst | Value_nonconst |
typedef _Cont::Value_const | Value_const |
typedef unsigned int | Size |
Public Member Functions | |
Field (_Cont &cont, Value *p, const Element_node_enumerator &ids) | |
Constructor. More... | |
Size | dimension () const |
Dimension of each attribute. More... | |
Value_const | operator[] (int i) const |
Obtain a const reference to the nodal data associated with ith node of the element. More... | |
Value_nonconst | operator[] (int i) |
Obtain a non-const reference to the nodal data associated with ith node of the element. More... | |
Field (_Cont &cont, Real *p, const _Enum &ids) | |
Size | dimension () const |
Value_const | operator[] (int i) const |
Value_nonconst | operator[] (int i) |
Private Attributes | |
_Cont & | _cont |
Value * | _p |
const Element_node_enumerator & | _enum |
Real * | _p |
const _Enum & | _enum |
Adpator for element-wise data container.
It provides an interface to access nodal attributes using element-wise local indices. Here _Cont is usually Nodal_scalar_const_2d.
Definition at line 65 of file interpolate_to_centers.C.
typedef _Cont::Base_type Base_type |
Definition at line 67 of file interpolate_to_centers.C.
typedef unsigned int Size |
Definition at line 71 of file interpolate_to_centers.C.
typedef unsigned int Size |
Definition at line 489 of file RFC_Window_base.h.
typedef _Cont::Value Value |
Definition at line 68 of file interpolate_to_centers.C.
typedef _Cont::Value Value |
Definition at line 486 of file RFC_Window_base.h.
typedef _Cont::Value_const Value_const |
Definition at line 70 of file interpolate_to_centers.C.
typedef _Cont::Value_const Value_const |
Definition at line 488 of file RFC_Window_base.h.
typedef _Cont::Value_nonconst Value_nonconst |
Definition at line 69 of file interpolate_to_centers.C.
typedef _Cont::Value_nonconst Value_nonconst |
Definition at line 487 of file RFC_Window_base.h.
|
inline |
Constructor.
cont | is a wrapper for accessing nodal data. |
p | points to the pane-wise array of the nodal data. |
ids | is a node-ID enumerator for the element. |
Definition at line 79 of file interpolate_to_centers.C.
Definition at line 495 of file RFC_Window_base.h.
|
inline |
Dimension of each attribute.
Definition at line 82 of file interpolate_to_centers.C.
References Field< _Cont >::_cont.
|
inline |
|
inline |
Obtain a const reference to the nodal data associated with ith node of the element.
Definition at line 85 of file interpolate_to_centers.C.
References Field< _Cont >::_cont, Field< _Cont >::_enum, and Field< _Cont >::_p.
|
inline |
Obtain a non-const reference to the nodal data associated with ith node of the element.
Definition at line 89 of file interpolate_to_centers.C.
References Field< _Cont >::_cont, Field< _Cont >::_enum, and Field< _Cont >::_p.
|
inline |
Definition at line 498 of file RFC_Window_base.h.
References Field< _Cont >::_cont, Field< _Cont >::_enum, and Field< _Cont >::_p.
|
inline |
Definition at line 500 of file RFC_Window_base.h.
References Field< _Cont >::_cont, Field< _Cont >::_enum, and Field< _Cont >::_p.
|
private |
Definition at line 93 of file interpolate_to_centers.C.
Referenced by Field< _Cont >::dimension(), Field< const _Cont, _Enum >::dimension(), Field< _Cont >::operator[](), and Field< const _Cont, _Enum >::operator[]().
|
private |
Definition at line 95 of file interpolate_to_centers.C.
Referenced by Field< _Cont >::operator[](), and Field< const _Cont, _Enum >::operator[]().
|
private |
Definition at line 493 of file RFC_Window_base.h.
|
private |
Definition at line 94 of file interpolate_to_centers.C.
Referenced by Field< _Cont >::operator[](), and Field< const _Cont, _Enum >::operator[]().
|
private |
Definition at line 492 of file RFC_Window_base.h.