#include <FourthOrderTensor2.hpp>
Public Member Functions | |
void | SetAsProduct (FourthOrderTensor2< DIM > &tensor, const c_matrix< double, DIM, DIM > &matrix, unsigned component) |
double & | operator() (unsigned M, unsigned N, unsigned P, unsigned Q) |
void | Zero () |
Private Attributes | |
std::vector< double > | mData |
unsigned | mDimSqd |
unsigned | mDimCubed |
unsigned | mDimToFour |
A class of fourth order tensors (ie tensors with four indices), over arbitrary dimension
Definition at line 49 of file FourthOrderTensor2.hpp.
void FourthOrderTensor2< DIM >::SetAsProduct | ( | FourthOrderTensor2< DIM > & | tensor, | |
const c_matrix< double, DIM, DIM > & | matrix, | |||
unsigned | component | |||
) | [inline] |
Set to be the inner product of another fourth order tensor and a matrix
tensor | A fourth order tensor | |
matrix | A Deal.II matrix | |
component | The component in the fourth order tensor with which to sum (indexed from ZERO) |
Definition at line 84 of file FourthOrderTensor2.hpp.