|
Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <Stokhos_StandardStorage.hpp>

Classes | |
| struct | apply |
| Turn StandardStorage 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 |
Public Member Functions | |
| StandardStorage (const ordinal_type &sz, const value_type &x=value_type(0.0)) | |
| Constructor. More... | |
| ~StandardStorage () | |
| Destructor. 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 | |
| Teuchos::Array< value_type > | coeff_ |
| Coefficient values. More... | |
Definition at line 53 of file Stokhos_StandardStorage.hpp.
| typedef value_type& Stokhos::StandardStorage< ordinal_type, value_type >::reference |
Definition at line 56 of file Stokhos_StandardStorage.hpp.
| typedef const value_type& Stokhos::StandardStorage< ordinal_type, value_type >::const_reference |
Definition at line 57 of file Stokhos_StandardStorage.hpp.
| typedef value_type* Stokhos::StandardStorage< ordinal_type, value_type >::pointer |
Definition at line 58 of file Stokhos_StandardStorage.hpp.
| typedef const value_type* Stokhos::StandardStorage< ordinal_type, value_type >::const_pointer |
Definition at line 59 of file Stokhos_StandardStorage.hpp.
|
inline |
Constructor.
Definition at line 68 of file Stokhos_StandardStorage.hpp.
|
inline |
Destructor.
Definition at line 73 of file Stokhos_StandardStorage.hpp.
|
inline |
Initialize values to a constant value.
Definition at line 76 of file Stokhos_StandardStorage.hpp.
|
inline |
Initialize values to an array of values.
Definition at line 81 of file Stokhos_StandardStorage.hpp.
|
inline |
Load values to an array of values.
Definition at line 89 of file Stokhos_StandardStorage.hpp.
|
inline |
Resize to new size (values are preserved)
Definition at line 94 of file Stokhos_StandardStorage.hpp.
|
inline |
Return size.
Definition at line 97 of file Stokhos_StandardStorage.hpp.
|
inline |
Coefficient access (avoid if possible)
Definition at line 100 of file Stokhos_StandardStorage.hpp.
|
inline |
Coefficient access (avoid if possible)
Definition at line 105 of file Stokhos_StandardStorage.hpp.
|
inline |
Get coefficients.
Definition at line 110 of file Stokhos_StandardStorage.hpp.
|
inline |
Get coefficients.
Definition at line 113 of file Stokhos_StandardStorage.hpp.
|
private |
Coefficient values.
Definition at line 118 of file Stokhos_StandardStorage.hpp.
1.8.5