|
Intrepid
|
#include <Intrepid_MiniTensor_Tensor3.h>
Public Types | |
| typedef tensor3_store< T, N >::type | Store |
Public Member Functions | |
| Tensor3 () | |
| Tensor3 (Index const dimension) | |
| Tensor3 (ComponentValue const value) | |
| Tensor3 (Index const dimension, ComponentValue const value) | |
| Tensor3 (T const *data_ptr) | |
| Tensor3 (Index const dimension, T const *data_ptr) | |
| Tensor3 (Tensor3< T, N > const &A) | |
| ~Tensor3 () | |
| T const & | operator() (Index const i, Index const j, Index const k) const |
| T & | operator() (Index const i, Index const j, Index const k) |
| 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 = 3 |
| static bool const | IS_DYNAMIC = N == DYNAMIC |
Third-order tensor.
Definition at line 59 of file Intrepid_MiniTensor_Tensor3.h.
| typedef tensor3_store<T, N>::type Intrepid::Tensor3< T, N >::Store |
Storage type
Definition at line 81 of file Intrepid_MiniTensor_Tensor3.h.
| Intrepid::Tensor3< T, N >::Tensor3 | ( | ) | [inline, explicit] |
3rd-order tensor constructor with NaNs
| dimension | the space dimension |
Definition at line 52 of file Intrepid_MiniTensor_Tensor3.i.h.
| Intrepid::Tensor3< T, N >::Tensor3 | ( | ComponentValue const | value | ) | [inline, explicit] |
Create 3rd-order tensor from a specified value
| dimension | the space dimension |
| value | all components are set equal to this |
Definition at line 71 of file Intrepid_MiniTensor_Tensor3.i.h.
| Intrepid::Tensor3< T, N >::Tensor3 | ( | T const * | data_ptr | ) | [inline, explicit] |
Create 3rd-order tensor from array
| dimension | the space dimension |
| data_ptr | pointer into the array |
Definition at line 90 of file Intrepid_MiniTensor_Tensor3.i.h.
| Intrepid::Tensor3< T, N >::Tensor3 | ( | Tensor3< T, N > const & | A | ) | [inline] |
Copy constructor 3rd-order tensor constructor from 3rd-order tensor
Definition at line 109 of file Intrepid_MiniTensor_Tensor3.i.h.
| Intrepid::Tensor3< T, N >::~Tensor3 | ( | ) | [inline] |
3rd-order tensor simple destructor
Definition at line 120 of file Intrepid_MiniTensor_Tensor3.i.h.
| Index Intrepid::Tensor3< T, N >::get_dimension | ( | ) | const [inline] |
Reimplemented from Intrepid::TensorBase< T, tensor3_store< T, N >::type >.
Definition at line 131 of file Intrepid_MiniTensor_Tensor3.i.h.
References Intrepid::TensorBase< T, ST >::get_dimension().
Referenced by Intrepid::Tensor3< T, N >::operator()().
| static Index Intrepid::Tensor3< T, N >::get_order | ( | ) | [inline, static] |
Tensor order
Definition at line 88 of file Intrepid_MiniTensor_Tensor3.h.
References Intrepid::Tensor3< T, N >::ORDER.
| T const & Intrepid::Tensor3< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k | ||
| ) | const [inline] |
Indexing for constant 3rd-order tensor
| i | index |
| j | index |
| k | index |
Definition at line 294 of file Intrepid_MiniTensor_Tensor3.i.h.
References Intrepid::Tensor3< T, N >::get_dimension().
| T & Intrepid::Tensor3< T, N >::operator() | ( | Index const | i, |
| Index const | j, | ||
| Index const | k | ||
| ) | [inline] |
3rd-order tensor indexing
| i | index |
| j | index |
| k | index |
Definition at line 311 of file Intrepid_MiniTensor_Tensor3.i.h.
References Intrepid::Tensor3< T, N >::get_dimension().
| void Intrepid::Tensor3< T, N >::set_dimension | ( | Index const | dimension | ) | [inline] |
| dimension | of vector |
Definition at line 142 of file Intrepid_MiniTensor_Tensor3.i.h.
References Intrepid::TensorBase< T, ST >::set_dimension().
bool const Intrepid::Tensor3< T, N >::IS_DYNAMIC = N == DYNAMIC [static] |
Static or dynamic
Definition at line 75 of file Intrepid_MiniTensor_Tensor3.h.
Index const Intrepid::Tensor3< T, N >::ORDER = 3 [static] |
Order
Definition at line 68 of file Intrepid_MiniTensor_Tensor3.h.
Referenced by Intrepid::Tensor3< T, N >::get_order().
1.7.6.1