Adpator for accessing constant scalar node-centered data. More...
Public Types | |
| typedef T | Base_type |
| typedef const T | Value |
| typedef T | Value_nonconst |
| typedef const T | Value_const |
| typedef unsigned int | Size |
Public Member Functions | |
| Nodal_scalar_const_2d (int i, int j) | |
| Constructor. More... | |
| void | set_col (int j) |
| Size | dimension () const |
| Dimension of the attribute. More... | |
| T | get_value (const Base_type *buf, int r) const |
| Get the ith data item. Here the index i uses Fortran convention. More... | |
Private Attributes | |
| const int | nc |
| int | c |
Adpator for accessing constant scalar node-centered data.
T is typically Real.
Definition at line 35 of file interpolate_to_centers.C.
| typedef T Base_type |
Definition at line 37 of file interpolate_to_centers.C.
| typedef unsigned int Size |
Definition at line 41 of file interpolate_to_centers.C.
| typedef const T Value |
Definition at line 38 of file interpolate_to_centers.C.
| typedef const T Value_const |
Definition at line 40 of file interpolate_to_centers.C.
| typedef T Value_nonconst |
Definition at line 39 of file interpolate_to_centers.C.
|
inline |
|
inline |
Dimension of the attribute.
Definition at line 48 of file interpolate_to_centers.C.
|
inline |
Get the ith data item. Here the index i uses Fortran convention.
Definition at line 51 of file interpolate_to_centers.C.
References Nodal_scalar_const_2d< T >::c, and Nodal_scalar_const_2d< T >::nc.
|
inline |
Definition at line 45 of file interpolate_to_centers.C.
References Nodal_scalar_const_2d< T >::c, and j.
|
private |
Definition at line 57 of file interpolate_to_centers.C.
Referenced by Nodal_scalar_const_2d< T >::get_value(), and Nodal_scalar_const_2d< T >::set_col().
|
private |
Definition at line 56 of file interpolate_to_centers.C.
Referenced by Nodal_scalar_const_2d< T >::get_value().