43 double t12 = 0.0,
double t13 = 0.0,
double t23 = 0.0)
61 for (
int i=0; i<6; i++)
myT[i] += t.
myT[i];
67 for (
int i=0; i<6; i++)
myT[i] -= t.
myT[i];
73 for (
int i=0; i<6; i++)
myT[i] *= d;
79 for (
int i=0; i<6; i++)
myT[i] /= d;
137 #ifdef FFA_INDEXCHECK
139 std::cerr <<
"FFaTensor3::operator[]: index i="<< i <<
" is out of range [0,5]"
147 #ifdef FFA_INDEXCHECK
149 std::cerr <<
"FFaTensor3::operator[]: index i="<< i <<
" is out of range [0,5]"
Definition: FFaTensor1.H:24
Definition: FFaTensor2.H:27
Definition: FFaTensor3.H:27
double minPrinsipal() const
Definition: FFaTensor3.C:226
double myT[6]
Definition: FFaTensor3.H:28
void prinsipalValues(double &max, double &middle, double &min) const
Definition: FFaTensor3.C:243
double vonMises() const
Definition: FFaTensor3.C:145
FFaTensor3(double d)
Definition: FFaTensor3.H:35
FFaTensor3 & rotate(const FaMat33 &rotMx)
Definition: FFaTensor3.C:72
FFaTensor3 & translateInertia(const FaVec3 &x, double mass)
Definition: FFaTensor3.C:128
FFaTensor3 & makeInertia(const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3)
Definition: FFaTensor3.C:99
FFaTensor3(double t11, double t22, double t33, double t12=0.0, double t13=0.0, double t23=0.0)
Definition: FFaTensor3.H:42
double maxPrinsipal(bool absMax=false) const
Definition: FFaTensor3.C:192
friend FFaTensor3 operator+(const FFaTensor3 &, const FFaTensor3 &)
Definition: FFaTensor3.C:290
FFaTensor3()
Definition: FFaTensor3.H:34
FFaTensor3(const float *t)
Definition: FFaTensor3.H:36
friend std::ostream & operator<<(std::ostream &, const FFaTensor3 &)
Definition: FFaTensor3.C:383
friend FFaTensor3 operator/(const FFaTensor3 &, double)
Definition: FFaTensor3.C:328
double middlePrinsipal() const
Definition: FFaTensor3.C:209
FFaTensor3 & operator*=(double d)
Definition: FFaTensor3.H:71
FFaTensor3 & operator+=(const FFaTensor3 &t)
Definition: FFaTensor3.H:59
FFaTensor3(const FFaTensor3 &t)
Definition: FFaTensor3.H:38
friend bool operator==(const FFaTensor3 &, const FFaTensor3 &)
Definition: FFaTensor3.C:338
friend bool operator!=(const FFaTensor3 &, const FFaTensor3 &)
Definition: FFaTensor3.C:349
FFaTensor3 & operator-=(const FFaTensor3 &t)
Definition: FFaTensor3.H:65
FFaTensor3(const FaVec3 &v1, const FaVec3 &v2, const FaVec3 &v3)
Definition: FFaTensor3.H:48
const double & operator[](int i) const
Definition: FFaTensor3.H:135
double maxShear() const
Definition: FFaTensor3.C:157
double * getPt()
Definition: FFaTensor3.H:86
FFaTensor3 & operator/=(double d)
Definition: FFaTensor3.H:77
const double * getPt() const
Definition: FFaTensor3.H:85
friend FFaTensor3 operator*(const FFaTensor3 &, double)
Definition: FFaTensor3.C:312
friend std::istream & operator>>(std::istream &, FFaTensor3 &)
Definition: FFaTensor3.C:390
FFaTensor3(const double *t)
Definition: FFaTensor3.H:37
friend FFaTensor3 operator-(const FFaTensor3 &)
Definition: FFaTensor3.C:283
FFaTensor3 & operator=(const FFaTensor3 &t)
Definition: FFaTensor3.C:42
Definition: FFaMat33.H:15
Definition: FFaMat34.H:16
Class for point vectors in 3D space.
Definition: FFaVec3.H:40
integer(ptr), save, private x
Definition: extCtrlSysRoutinesModule.f90:16
real(dp), dimension(:), allocatable v1
Definition: inverseModule.f90:27
real(dp), dimension(:), allocatable v2
Definition: inverseModule.f90:28