|
BEM++
2.0
|
Simple implementation of a 3D Fortran-ordered array. More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/fiber/_3d_array.hpp>
Public Types | |
| typedef T * | iterator |
| typedef const T * | const_iterator |
Public Member Functions | |
| _3dArray (size_t extent0, size_t extent1, size_t extent2) | |
| _3dArray (size_t extent0, size_t extent1, size_t extent2, T *data, bool strict=false) | |
| _3dArray (const _3dArray &other) | |
| _3dArray & | operator= (const _3dArray &rhs) |
| T & | operator() (size_t index0, size_t index1, size_t index2) |
| const T & | operator() (size_t index0, size_t index1, size_t index2) const |
| _3dArray< T > & | operator+= (const _3dArray< T > &other) |
| _3dArray< T > & | operator*= (const T &other) |
| size_t | extent (size_t dimension) const |
| void | set_size (size_t extent0, size_t extent1, size_t extent2) |
| bool | is_empty () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
Private Attributes | |
| size_t | m_extents [3] |
| bool | m_owns |
| bool | m_strict |
| T * | m_storage |
Simple implementation of a 3D Fortran-ordered array.
Bound checking can optionally be activated by defining the symbol FIBER_CHECK_ARRAY_BOUNDS.
1.8.5