|
|
| Tensor4 (t_ind nsd=3, Real scale=Real(1), bool makeJ=false) |
| | The default constructor creates a (scaled) identity tensor.
|
| |
| | Tensor4 (const std::vector< Real > &x, t_ind nsd=3) |
| | Constructor creating a tensor from a vector of components. More...
|
| |
|
void | zero () |
| | Sets this to the 0-tensor.
|
| |
|
| operator const std::vector< Real > & () const |
| | Type casting to a one-dimensional vector, for referencing.
|
| |
|
| operator std::vector< Real > & () |
| | Type casting to a one-dimensional vector, for assignment.
|
| |
|
const Real * | ptr () const |
| | Reference through a pointer.
|
| |
|
const Real & | operator() (t_ind i, t_ind j, t_ind d, t_ind l) const |
| | Index-1 based component reference.
|
| |
|
Real & | operator() (t_ind i, t_ind j, t_ind k, t_ind l) |
| | Index-1 based component access.
|
| |
|
Tensor4 & | operator= (const Tensor4 &T) |
| | Assignment operator.
|
| |
|
Tensor4 & | operator= (Real val) |
| | Overloaded assignment operator.
|
| |
|
Tensor4 & | operator+= (Real val) |
| | Incrementation operator.
|
| |
Simple class for representing a non-symmetric fourth-order tensor.