OpenWalnut
1.4.0
|
Implements the operator () for an order of 6. More...
#include <WTensorBase.h>
Public Member Functions | |
WTensorFunc () | |
Default constructor. | |
WTensorFunc (const WValue< Data_T > &data) | |
Initializes the tensor with the given data. | |
WTensorFunc (const boost::array< Data_T, TensorBase_T< 6, dim, Data_T >::dataSize > &data) | |
Initializes the tensor with the given data. | |
Data_T & | operator() (std::size_t i0, std::size_t i1, std::size_t i2, std::size_t i3, std::size_t i4, std::size_t i5) |
Access operator. | |
Data_T const & | operator() (std::size_t i0, std::size_t i1, std::size_t i2, std::size_t i3, std::size_t i4, std::size_t i5) const |
Access operator. |
Implements the operator () for an order of 6.
TensorBase_T | Either WTensorBase<> or WTensorBaseSym<> |
dim | The dimension of the tensor, i.e. the number of components in each direction. |
Data_T | The datatype of the components, double by default. |
Definition at line 1234 of file WTensorBase.h.
WTensorFunc< TensorBase_T, 6, dim, Data_T >::WTensorFunc | ( | ) |
Default constructor.
Definition at line 1286 of file WTensorBase.h.
WTensorFunc< TensorBase_T, 6, dim, Data_T >::WTensorFunc | ( | const WValue< Data_T > & | data | ) | [explicit] |
Initializes the tensor with the given data.
data | Components in same ordering as the components of the TensorBase class. |
Definition at line 1292 of file WTensorBase.h.
WTensorFunc< TensorBase_T, 6, dim, Data_T >::WTensorFunc | ( | const boost::array< Data_T, TensorBase_T< 6, dim, Data_T >::dataSize > & | data | ) | [explicit] |
Initializes the tensor with the given data.
data | Components in same ordering as the components of the TensorBase class. |
Definition at line 1298 of file WTensorBase.h.
Data_T & WTensorFunc< TensorBase_T, 6, dim, Data_T >::operator() | ( | std::size_t | i0, |
std::size_t | i1, | ||
std::size_t | i2, | ||
std::size_t | i3, | ||
std::size_t | i4, | ||
std::size_t | i5 | ||
) |
Access operator.
i0 | An index. |
i1 | An index. |
i2 | An index. |
i3 | An index. |
i4 | An index. |
i5 | An index. |
Definition at line 1304 of file WTensorBase.h.
Data_T const & WTensorFunc< TensorBase_T, 6, dim, Data_T >::operator() | ( | std::size_t | i0, |
std::size_t | i1, | ||
std::size_t | i2, | ||
std::size_t | i3, | ||
std::size_t | i4, | ||
std::size_t | i5 | ||
) | const |
Access operator.
i0 | An index. |
i1 | An index. |
i2 | An index. |
i3 | An index. |
i4 | An index. |
i5 | An index. |
Definition at line 1311 of file WTensorBase.h.