Chombo + EB + MF
3.2
|
#include <RealTensor.H>
Public Member Functions | |
RealTensor () | |
RealTensor (const RealTensor &a_rhs) | |
~RealTensor () | |
Destructor. More... | |
RealTensor & | operator= (const RealTensor &a_rhs) |
Assignment operator. More... | |
Real | operator() (int a_i, int a_j) const |
Returns the (i,j) component of this tensor. More... | |
Real & | operator() (int a_i, int a_j) |
Real | det () const |
Computes the determinant of this tensor using cofactors. More... | |
RealTensor | transpose () const |
Computes the transpose of this tensor. More... | |
Private Member Functions | |
Real | recurDet (const Real *a_tensor, const int &a_size) const |
Private Attributes | |
Real | m_T [CH_SPACEDIM *CH_SPACEDIM] |
This class stores tensors that represent outer products of RealVects.
|
inline |
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
Computes the determinant of this tensor using cofactors.
References m_T, recurDet(), and SpaceDim.
|
inline |
Computes the transpose of this tensor.
|
private |
Referenced by det(), operator()(), operator=(), and RealTensor().