FullMatrix StoragePolicy which provides object owning semantics.
More...
#include <Matrix.hpp>
template<typename T>
class Opm::OwnData< T >
FullMatrix StoragePolicy which provides object owning semantics.
- Template Parameters
-
T | Element type of the FullMatrix. Often is an alias for. |
Constructor.
- Parameters
-
[in] | sz | Number of elements in FullMatrix storage std::array. |
[in] | data | Initial data vector. If non-NULL, must contain elements which will be assigned to a freshly allocated storage std::array. If NULL, a element all-zero storage std::array will be constructed. |
Direct access to all data.
- Returns
- Pointer to first element of storage std::array.
Storage element access.
- Parameters
-
[in] | i | Linear element index. |
- Returns
- Storage element at index.
Data size query.
- Returns
- Number of elements in storage std::array.
The documentation for this class was generated from the following file: