Class for fixed-size rank-three tensor storing N1 x N2 x N3 objects of type T. More...
#include <fixed_size_vector.h>
Public Member Functions | |
| FixedSizeRankThreeTensor () | |
| Default constructor. | |
| FixedSizeRankThreeTensor (const T &value) | |
| Constructor with initialisation. | |
| void | fill (const T &value) |
| Fill all entries with specified value. | |
| T & | operator() (const unsigned &i, const unsigned &j, const unsigned &k) |
| Read/write access to (i,j,k)-th entry. | |
| const T & | operator() (const unsigned &i, const unsigned &j, const unsigned &k) const |
| Read access to (i,j,k)-th entry. | |
Private Attributes | |
| T | Data [N1 *N2 *N3] |
| Tensor data. | |
Class for fixed-size rank-three tensor storing N1 x N2 x N3 objects of type T.
Storage layout:
(0,0,0), (0,0,1), ... , (0,0,N3-1), (0,1,0), ... ... (N1-1,N2-1,N3-1)
Definition at line 277 of file fixed_size_vector.h.
|
inline |
Default constructor.
Definition at line 281 of file fixed_size_vector.h.
|
inline |
Constructor with initialisation.
Definition at line 284 of file fixed_size_vector.h.
References oomph::FixedSizeRankThreeTensor< T, N1, N2, N3 >::fill().
Fill all entries with specified value.
Definition at line 290 of file fixed_size_vector.h.
References i.
Referenced by oomph::FixedSizeRankThreeTensor< T, N1, N2, N3 >::FixedSizeRankThreeTensor().
|
inline |
Read/write access to (i,j,k)-th entry.
Definition at line 299 of file fixed_size_vector.h.
References i.
Tensor data.
Definition at line 346 of file fixed_size_vector.h.