#include <RealTensor.H>
Public Member Functions | |
RealTensor () | |
RealTensor (const RealTensor &a_rhs) | |
~RealTensor () | |
Destructor. | |
RealTensor & | operator= (const RealTensor &a_rhs) |
Assignment operator. | |
Real | operator() (int a_i, int a_j) const |
Returns the (i,j) component of this tensor. | |
Real & | operator() (int a_i, int a_j) |
Real | det () const |
Computes the determinant of this tensor using cofactors. | |
RealTensor | transpose () const |
Computes the transpose of this tensor. | |
Private Member Functions | |
Real | recurDet (const Real *a_tensor, const int &a_size) const |
Private Attributes | |
Real | m_T [CH_SPACEDIM *CH_SPACEDIM] |
RealTensor::RealTensor | ( | const RealTensor & | a_rhs | ) | [inline] |
RealTensor::~RealTensor | ( | ) | [inline] |
Destructor.
RealTensor& RealTensor::operator= | ( | const RealTensor & | a_rhs | ) | [inline] |
Real RealTensor::operator() | ( | int | a_i, | |
int | a_j | |||
) | const [inline] |
Real RealTensor::det | ( | ) | const [inline] |
RealTensor RealTensor::transpose | ( | ) | const [inline] |
Computes the transpose of this tensor.
Real RealTensor::m_T[CH_SPACEDIM *CH_SPACEDIM] [private] |
Referenced by det(), operator()(), operator=(), and RealTensor().