GMatTensor 0.10.6
|
#include <GMatTensor/Cartesian3d.h>
Public Member Functions | |
Array (const std::array< size_t, N > &shape) | |
Constructor. More... | |
const std::array< size_t, N > & | shape () const |
Shape of the array (of scalars). More... | |
const std::array< size_t, N+2 > & | shape_tensor2 () const |
Shape of the array of second-order tensors. More... | |
const std::array< size_t, N+4 > & | shape_tensor4 () const |
Shape of the array of fourth-order tensors. More... | |
array_type::tensor< double, N+2 > | O2 () const |
Array of Cartesian3d::O2() More... | |
array_type::tensor< double, N+4 > | O4 () const |
Array of Cartesian3d::O4() More... | |
array_type::tensor< double, N+2 > | I2 () const |
Array of Cartesian3d::I2() More... | |
array_type::tensor< double, N+4 > | II () const |
Array of Cartesian3d::II() More... | |
array_type::tensor< double, N+4 > | I4 () const |
Array of Cartesian3d::I4() More... | |
array_type::tensor< double, N+4 > | I4rt () const |
Array of Cartesian3d::I4rt() More... | |
array_type::tensor< double, N+4 > | I4s () const |
Array of Cartesian3d::I4s() More... | |
array_type::tensor< double, N+4 > | I4d () const |
Array of Cartesian3d::I4d() More... | |
Static Public Attributes | |
static constexpr std::size_t | rank = N |
Rank of the array (the actual rank is increased with the tensor-rank). More... | |
Protected Member Functions | |
void | init (const std::array< size_t, N > &shape) |
Constructor 'alias'. More... | |
Protected Attributes | |
size_t | m_size |
Size of the array (of scalars) == prod(m_shape). More... | |
std::array< size_t, N > | m_shape |
Shape of the array (of scalars). More... | |
std::array< size_t, N+2 > | m_shape_tensor2 |
Shape of an array of 2nd-order tensors == [m_shape, 3, 3]. More... | |
std::array< size_t, N+4 > | m_shape_tensor4 |
Shape of an array of 4th-order tensors == [m_shape, 3, 3, 3, 3]. More... | |
Static Protected Attributes | |
static constexpr size_t | m_ndim = 3 |
Number of dimensions of tensors. More... | |
static constexpr size_t | m_stride_tensor2 = 9 |
Storage stride for 2nd-order tensors ( \( 3^2 \)). More... | |
static constexpr size_t | m_stride_tensor4 = 81 |
Storage stride for 4th-order tensors ( \( 3^4 \)). More... | |
Array of tensors:
[...]
.[..., 3, 3]
.[..., 3, 3, 3, 3]
.N | The rank of the array (the actual rank is increased with the tensor-rank). |
Definition at line 1467 of file Cartesian3d.h.
|
inline |
Constructor.
shape | The shape of the array (or scalars). |
Definition at line 1483 of file Cartesian3d.h.
|
inline |
|
inline |
Definition at line 1577 of file Cartesian3d.h.
|
inline |
Definition at line 1628 of file Cartesian3d.h.
|
inline |
Definition at line 1594 of file Cartesian3d.h.
|
inline |
Definition at line 1611 of file Cartesian3d.h.
|
inline |
Definition at line 1560 of file Cartesian3d.h.
|
inlineprotected |
Constructor 'alias'.
Can be used by constructor of derived classes.
shape | The shape of the array (or scalars). |
Definition at line 1646 of file Cartesian3d.h.
|
inline |
|
inline |
Definition at line 1533 of file Cartesian3d.h.
|
inline |
Shape of the array (of scalars).
Definition at line 1493 of file Cartesian3d.h.
|
inline |
Shape of the array of second-order tensors.
Definition at line 1503 of file Cartesian3d.h.
|
inline |
Shape of the array of fourth-order tensors.
Definition at line 1513 of file Cartesian3d.h.
|
staticconstexprprotected |
Number of dimensions of tensors.
Definition at line 1658 of file Cartesian3d.h.
|
protected |
Shape of the array (of scalars).
Definition at line 1670 of file Cartesian3d.h.
|
protected |
Shape of an array of 2nd-order tensors == [m_shape, 3, 3].
Definition at line 1673 of file Cartesian3d.h.
|
protected |
Shape of an array of 4th-order tensors == [m_shape, 3, 3, 3, 3].
Definition at line 1676 of file Cartesian3d.h.
|
protected |
Size of the array (of scalars) == prod(m_shape).
Definition at line 1667 of file Cartesian3d.h.
|
staticconstexprprotected |
Storage stride for 2nd-order tensors ( \( 3^2 \)).
Definition at line 1661 of file Cartesian3d.h.
|
staticconstexprprotected |
Storage stride for 4th-order tensors ( \( 3^4 \)).
Definition at line 1664 of file Cartesian3d.h.
|
staticconstexpr |
Rank of the array (the actual rank is increased with the tensor-rank).
Definition at line 1472 of file Cartesian3d.h.