FEDEM Solver
R8.0
Source code of the dynamics solver
|
#include <FFaTensor2.H>
Public Member Functions | |
FFaTensor2 () | |
FFaTensor2 (double d) | |
FFaTensor2 (const float *t) | |
FFaTensor2 (const double *t) | |
FFaTensor2 (const FFaTensor2 &t) | |
FFaTensor2 (const FFaTensor1 &t) | |
FFaTensor2 (const FFaTensor3 &t) | |
FFaTensor2 (double t11, double t22, double t12=0.0) | |
FFaTensor2 & | operator= (const FFaTensor1 &t) |
FFaTensor2 & | operator= (const FFaTensor2 &t) |
FFaTensor2 & | operator= (const FFaTensor3 &t) |
FFaTensor2 & | operator+= (const FFaTensor2 &t) |
FFaTensor2 & | operator-= (const FFaTensor2 &t) |
FFaTensor2 & | operator*= (double d) |
FFaTensor2 & | operator/= (double d) |
const double * | getPt () const |
double * | getPt () |
const double & | operator[] (int i) const |
double & | operator[] (int i) |
FFaTensor2 & | rotate (const double ex[2], const double ey[2]) |
double | vonMises () const |
double | maxShear () const |
void | maxShear (FaVec3 &v) const |
double | maxPrinsipal (bool absMax=false) const |
double | minPrinsipal () const |
void | prinsipalValues (double &max, double &min) const |
void | prinsipalValues (FaVec3 &values, FaMat33 &rotation) const |
Private Attributes | |
double | myT [3] |
Friends | |
FFaTensor2 | operator- (const FFaTensor2 &) |
FFaTensor2 | operator+ (const FFaTensor2 &, const FFaTensor2 &) |
FFaTensor2 | operator- (const FFaTensor2 &, const FFaTensor2 &) |
FFaTensor2 | operator* (const FFaTensor2 &, double) |
FFaTensor2 | operator* (double, const FFaTensor2 &) |
FFaTensor2 | operator/ (const FFaTensor2 &, double) |
bool | operator== (const FFaTensor2 &, const FFaTensor2 &) |
bool | operator!= (const FFaTensor2 &, const FFaTensor2 &) |
FFaTensor3 | operator* (const FFaTensor2 &, const FaMat33 &) |
FFaTensor3 | operator* (const FFaTensor2 &, const FaMat34 &) |
FFaTensor3 | operator* (const FaMat33 &, const FFaTensor2 &) |
FFaTensor3 | operator* (const FaMat34 &, const FFaTensor2 &) |
std::ostream & | operator<< (std::ostream &s, const FFaTensor2 &b) |
std::istream & | operator>> (std::istream &s, FFaTensor2 &b) |
Class to represent a 2D symmetrical tensor. Tensor layout: T = {t11, t22, t12}
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
FFaTensor2::FFaTensor2 | ( | const FFaTensor1 & | t | ) |
FFaTensor2::FFaTensor2 | ( | const FFaTensor3 & | t | ) |
|
inline |
|
inline |
|
inline |
double FFaTensor2::maxPrinsipal | ( | bool | absMax = false | ) | const |
Get the (absolute) max principal of the tensor. If it can't be found, HUGE_VAL will be returned.
double FFaTensor2::maxShear | ( | ) | const |
Get the max shear value of the tensor. If it can't be found, HUGE_VAL will be returned.
void FFaTensor2::maxShear | ( | FaVec3 & | v | ) | const |
Get the max shear of the tensor as a directed vector. If it can't be found, a 0-vector will be returned.
double FFaTensor2::minPrinsipal | ( | ) | const |
Get the min principal of the tensor. If it can't be found, HUGE_VAL will be returned.
|
inline |
|
inline |
|
inline |
|
inline |
FFaTensor2 & FFaTensor2::operator= | ( | const FFaTensor1 & | t | ) |
FFaTensor2 & FFaTensor2::operator= | ( | const FFaTensor2 & | t | ) |
FFaTensor2 & FFaTensor2::operator= | ( | const FFaTensor3 & | t | ) |
|
inline |
|
inline |
void FFaTensor2::prinsipalValues | ( | double & | max, |
double & | min | ||
) | const |
Get the principal values of the tensor. If they can't be found, HUGE_VAL will be returned.
Get a valid rotation matrix corresponding to the principal axes of the tensor. The associated principal values are also found in the corresponding order. If the matrix can't be found, the identity will be returned, along with a vector of HUGE_VAL.
FFaTensor2 & FFaTensor2::rotate | ( | const double | ex[2], |
const double | ey[2] | ||
) |
Rotate the tensor to the given CS.
double FFaTensor2::vonMises | ( | ) | const |
Get the von Mises value of the tensor.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Global operators.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |