Rheolef
7.2
an efficient C++ finite element environment
|
d-dimensional physical third-order tensor
The tensor3
class defines a d*d*d
array with floating coefficients. This class is suitable for defining third-order tensors, i.e. field
with d*d*d
matrix values at each physical position.
It is represented as a tridimensional array of coordinates. The coordinate indexes start at zero and finishes at d-1
, e.g. a(0,0,0)
, a(0,0,1)
, ..., a(2,2,2)
.
The default constructor set all components to zero:
tensor3 a;
The linear algebra with scalars and tensor
is supported.
This documentation has been generated from file fem/geo_element/tensor3.h
The tensor3
class is simply an alias to the tensor3_basic
class
The tensor3_basic
class is a template class with the floating type as parameter: