Rheolef
7.1
an efficient C++ finite element environment
|
d-dimensional physical fourth-order tensor
The tensor4
class defines a d^4
array with floating coefficients. This class is suitable for defining fourth-order tensors, i.e. field
with d^4
matrix values at each physical position.
It is represented as a fourth-dimensional array of coordinates. The coordinate indexes start at zero and finishes at d-1
, e.g. a(0,0,0,0)
, a(0,0,0,1)
, ..., a(2,2,2,2)
.
The default constructor set all components to zero:
tensor4 a;
The standard linear algebra is supported.
This documentation has been generated from file fem/geo_element/tensor4.h
The tensor4
class is simply an alias to the tensor4_basic
class
The tensor4_basic
class is a template class with the floating type as parameter:
The norm and contracted product with a second-order tensor is provided, together with the dexp
fuinction, that represents the derivative of the tensor matrix function.