|
Intrepid
|
#include <Intrepid_MiniTensor_Tensor4.h>
Public Types | |
| typedef tensor4_store< T, N >::type | Store |
Public Member Functions | |
| Tensor4 () | |
| Tensor4 (Index const dimension) | |
| Tensor4 (ComponentValue const value) | |
| Tensor4 (Index const dimension, ComponentValue const value) | |
| Tensor4 (T const *data_ptr) | |
| Tensor4 (Index const dimension, T const *data_ptr) | |
| Tensor4 (Tensor4< T, N > const &A) | |
| Tensor4 (Tensor< T, dimension_square< N >::value > const &A) | |
| ~Tensor4 () | |
| T const & | operator() (Index const i, Index const j, Index const k, Index const l) const |
| T & | operator() (Index const i, Index const j, Index const k, Index const l) |
| Index | get_dimension () const |
| void | set_dimension (Index const dimension) |
Static Public Member Functions | |
| static Index | get_order () |
Static Public Attributes | |
| static Index const | ORDER = 4 |
| static bool const | IS_DYNAMIC = N == DYNAMIC |
Fourth-order tensor.
Definition at line 59 of file Intrepid_MiniTensor_Tensor4.h.
| typedef tensor4_store<T, N>::type Intrepid::Tensor4< T, N >::Store |
Storage type
Definition at line 81 of file Intrepid_MiniTensor_Tensor4.h.
| Intrepid::Tensor4< T, N >::Tensor4 | ( | ) | [inline, explicit] |
4th-order tensor constructor with NaNs
| dimension | the space dimension |
Definition at line 53 of file Intrepid_MiniTensor_Tensor4.i.h.
| Intrepid::Tensor4< T, N >::Tensor4 | ( | ComponentValue const | value | ) | [inline, explicit] |
Create 4th-order tensor from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 72 of file Intrepid_MiniTensor_Tensor4.i.h.
| Intrepid::Tensor4< T, N >::Tensor4 | ( | T const * | data_ptr | ) | [inline, explicit] |
Create 4th-order tensor from array
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 91 of file Intrepid_MiniTensor_Tensor4.i.h.
| Intrepid::Tensor4< T, N >::Tensor4 | ( | Tensor4< T, N > const & | A | ) | [inline] |
Copy constructor 4th-order tensor constructor with 4th-order tensor
Definition at line 110 of file Intrepid_MiniTensor_Tensor4.i.h.
| Intrepid::Tensor4< T, N >::Tensor4 | ( | Tensor< T, dimension_square< N >::value > const & | A | ) | [inline] |
4th-order tensor from 2nd-order tensor
Definition at line 164 of file Intrepid_MiniTensor_Tensor4.i.h.
References Intrepid::Tensor4< T, N >::set_dimension().
| Intrepid::Tensor4< T, N >::~Tensor4 | ( | ) | [inline] |
4th-order tensor simple destructor
Definition at line 191 of file Intrepid_MiniTensor_Tensor4.i.h.
| Index Intrepid::Tensor4< T, N >::get_dimension | ( | ) | const [inline] |
Reimplemented from Intrepid::TensorBase< T, tensor4_store< T, N >::type >.
Definition at line 202 of file Intrepid_MiniTensor_Tensor4.i.h.
References Intrepid::TensorBase< T, ST >::get_dimension().
Referenced by Intrepid::Tensor4< T, N >::operator()().
| static Index Intrepid::Tensor4< T, N >::get_order | ( | ) | [inline, static] |
Tensor order
Definition at line 88 of file Intrepid_MiniTensor_Tensor4.h.
References Intrepid::Tensor4< T, N >::ORDER.
| T const & Intrepid::Tensor4< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k, | ||
| Index const | l | ||
| ) | const [inline] |
Indexing for constant 4th-order tensor
| i | index |
| j | index |
| k | index |
| l | index |
Definition at line 369 of file Intrepid_MiniTensor_Tensor4.i.h.
References Intrepid::Tensor4< T, N >::get_dimension().
| T & Intrepid::Tensor4< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k, | ||
| Index const | l | ||
| ) | [inline] |
4th-order tensor indexing
| i | index |
| j | index |
| k | index |
| l | index |
Definition at line 391 of file Intrepid_MiniTensor_Tensor4.i.h.
References Intrepid::Tensor4< T, N >::get_dimension().
| void Intrepid::Tensor4< T, N >::set_dimension | ( | Index const | dimension | ) | [inline] |
| dimension | of vector |
Definition at line 213 of file Intrepid_MiniTensor_Tensor4.i.h.
References Intrepid::TensorBase< T, ST >::set_dimension().
Referenced by Intrepid::Tensor4< T, N >::Tensor4().
bool const Intrepid::Tensor4< T, N >::IS_DYNAMIC = N == DYNAMIC [static] |
Static or dynamic
Definition at line 75 of file Intrepid_MiniTensor_Tensor4.h.
Index const Intrepid::Tensor4< T, N >::ORDER = 4 [static] |
Order
Definition at line 68 of file Intrepid_MiniTensor_Tensor4.h.
Referenced by Intrepid::Tensor4< T, N >::get_order().
1.7.6.1