|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Statically allocated storage class. More...
#include <Stokhos_StaticStandardStorage.hpp>
Classes | |
| struct | apply |
| Turn StaticStandardStorage into a meta-function class usable with mpl::apply. More... | |
Public Types | |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef Sacado::ss_array < value_type > | ss |
Public Member Functions | |
| StaticStandardStorage (const ordinal_type &sz_, const value_type &x=value_type(0.0)) | |
| Constructor. More... | |
| StaticStandardStorage (const StaticStandardStorage &s) | |
| Copy constructor. More... | |
| ~StaticStandardStorage () | |
| Destructor. More... | |
| StaticStandardStorage & | operator= (const StaticStandardStorage &s) |
| Assignment operator. More... | |
| void | init (const_reference v) |
| Initialize values to a constant value. More... | |
| void | init (const_pointer v, const ordinal_type &sz_=0) |
| Initialize values to an array of values. More... | |
| void | load (pointer v) |
| Load values to an array of values. More... | |
| void | resize (const ordinal_type &sz_) |
| Resize to new size (values are preserved) More... | |
| ordinal_type | size () const |
| Return size. More... | |
| const_reference | operator[] (const ordinal_type &i) const |
| Coefficient access (avoid if possible) More... | |
| reference | operator[] (const ordinal_type &i) |
| Coefficient access (avoid if possible) More... | |
| const_pointer | coeff () const |
| Get coefficients. More... | |
| pointer | coeff () |
| Get coefficients. More... | |
Private Attributes | |
| value_type | coeff_ [Num] |
| Coefficient values. More... | |
| ordinal_type | sz |
| Size of array used. More... | |
Statically allocated storage class.
Definition at line 54 of file Stokhos_StaticStandardStorage.hpp.
| typedef value_type& Stokhos::StaticStandardStorage< ordinal_type, value_type, Num >::reference |
Definition at line 57 of file Stokhos_StaticStandardStorage.hpp.
| typedef const value_type& Stokhos::StaticStandardStorage< ordinal_type, value_type, Num >::const_reference |
Definition at line 58 of file Stokhos_StaticStandardStorage.hpp.
| typedef value_type* Stokhos::StaticStandardStorage< ordinal_type, value_type, Num >::pointer |
Definition at line 59 of file Stokhos_StaticStandardStorage.hpp.
| typedef const value_type* Stokhos::StaticStandardStorage< ordinal_type, value_type, Num >::const_pointer |
Definition at line 60 of file Stokhos_StaticStandardStorage.hpp.
| typedef Sacado::ss_array<value_type> Stokhos::StaticStandardStorage< ordinal_type, value_type, Num >::ss |
Definition at line 61 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Constructor.
Definition at line 70 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Copy constructor.
Definition at line 76 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Destructor.
Definition at line 81 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Assignment operator.
Definition at line 84 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Initialize values to a constant value.
Definition at line 91 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Initialize values to an array of values.
Definition at line 96 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Load values to an array of values.
Definition at line 104 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Resize to new size (values are preserved)
Definition at line 109 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Return size.
Definition at line 116 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Coefficient access (avoid if possible)
Definition at line 119 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Coefficient access (avoid if possible)
Definition at line 124 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Get coefficients.
Definition at line 127 of file Stokhos_StaticStandardStorage.hpp.
|
inline |
Get coefficients.
Definition at line 130 of file Stokhos_StaticStandardStorage.hpp.
|
private |
Coefficient values.
Definition at line 135 of file Stokhos_StaticStandardStorage.hpp.
|
private |
Size of array used.
Definition at line 138 of file Stokhos_StaticStandardStorage.hpp.
1.8.5