OpenWalnut
1.4.0
|
Implements functions that should only be defined for certain values of order. 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< order, dim, Data_T >::dataSize > &data) | |
Initializes the tensor with the given data. |
Implements functions that should only be defined for certain values of order.
TensorBase_T | Either WTensorBase<> or WTensorBaseSym<> |
order | The order of the tensor. |
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 1183 of file WTensorBase.h.
WTensorFunc< TensorBase_T, order, dim, Data_T >::WTensorFunc | ( | ) |
Default constructor.
Definition at line 1207 of file WTensorBase.h.
WTensorFunc< TensorBase_T, order, 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 1213 of file WTensorBase.h.
WTensorFunc< TensorBase_T, order, dim, Data_T >::WTensorFunc | ( | const boost::array< Data_T, TensorBase_T< order, 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 1219 of file WTensorBase.h.