Memosa-FVM
0.2
|
#include <StressTensor.h>
Public Types | |
typedef StressTensor< T > | This_T |
typedef NumTypeTraits< T > ::T_Scalar | T_Scalar |
typedef NumTypeTraits< T > ::T_BuiltIn | T_BuiltIn |
Public Member Functions | |
T & | operator[] (int n) |
const T & | operator[] (int n) const |
StressTensor & | operator= (const T &o) |
StressTensor & | operator= (const StressTensor &o) |
StressTensor | operator- () |
StressTensor & | operator+= (const StressTensor &o) |
StressTensor & | operator+= (const T s) |
StressTensor & | operator-= (const StressTensor &o) |
StressTensor & | operator-= (const T s) |
StressTensor & | operator/= (const T s) |
StressTensor & | operator/= (const StressTensor &o) |
StressTensor & | operator*= (const T s) |
StressTensor & | operator*= (const StressTensor &o) |
void | zero () |
T | mag2 () const |
bool | operator< (const double tolerance) const |
Static Public Member Functions | |
static string | getTypeName () |
static int | getDimension () |
static void | getShape (int *shp) |
static int | getDataSize () |
static StressTensor | getZero () |
static double | doubleMeasure (const StressTensor &x) |
static StressTensor | getNegativeUnity () |
static StressTensor | getUnity () |
static void | accumulateOneNorm (StressTensor &sum, const StressTensor &v) |
static void | accumulateDotProduct (StressTensor &sum, const StressTensor &v0, const StressTensor &v1) |
static void | reduceSum (T_Scalar &sum, const This_T &x) |
static void | safeDivide (StressTensor &x, const StressTensor &y) |
static void | normalize (StressTensor &x, const StressTensor &y) |
static void | setMax (StressTensor &x, const StressTensor &y) |
Private Attributes | |
T | _data [6] |
Symmetric 3x3 tensor to store stresses. Components are stored in the following order: xx, yy, zz, xy, yz, zx
Only used for exporting the stresses to MPM so most of the algebra operations aren't currently implemented.
Definition at line 23 of file StressTensor.h.
typedef NumTypeTraits<T>::T_BuiltIn StressTensor< T >::T_BuiltIn |
Definition at line 28 of file StressTensor.h.
typedef NumTypeTraits<T>::T_Scalar StressTensor< T >::T_Scalar |
Definition at line 27 of file StressTensor.h.
typedef StressTensor<T> StressTensor< T >::This_T |
Definition at line 26 of file StressTensor.h.
|
inlinestatic |
Definition at line 165 of file StressTensor.h.
|
inlinestatic |
Definition at line 160 of file StressTensor.h.
|
inlinestatic |
Definition at line 145 of file StressTensor.h.
|
inlinestatic |
Definition at line 41 of file StressTensor.h.
|
inlinestatic |
Definition at line 37 of file StressTensor.h.
|
inlinestatic |
Definition at line 150 of file StressTensor.h.
|
inlinestatic |
Definition at line 39 of file StressTensor.h.
|
inlinestatic |
Definition at line 30 of file StressTensor.h.
|
inlinestatic |
Definition at line 155 of file StressTensor.h.
|
inlinestatic |
Definition at line 138 of file StressTensor.h.
References StressTensor< T >::zero().
|
inline |
Definition at line 128 of file StressTensor.h.
Referenced by StressTensor< T >::operator<().
|
inlinestatic |
Definition at line 181 of file StressTensor.h.
|
inline |
|
inline |
Definition at line 118 of file StressTensor.h.
|
inline |
|
inline |
|
inline |
Definition at line 63 of file StressTensor.h.
References StressTensor< T >::_data.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 106 of file StressTensor.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 171 of file StressTensor.h.
|
inlinestatic |
Definition at line 176 of file StressTensor.h.
|
inlinestatic |
Definition at line 186 of file StressTensor.h.
|
inline |
Definition at line 123 of file StressTensor.h.
Referenced by StressTensor< T >::getZero().
|
private |
Definition at line 192 of file StressTensor.h.
Referenced by StressTensor< T >::operator*=(), StressTensor< T >::operator+=(), StressTensor< T >::operator-(), StressTensor< T >::operator-=(), StressTensor< T >::operator/=(), StressTensor< T >::operator=(), and StressTensor< T >::operator[]().