13 #ifndef FFA_TENSOR_TRANSFORMS_H
14 #define FFA_TENSOR_TRANSFORMS_H
20 double vonMises(
int N,
const double* S);
22 double vonMises(
double s11,
double s22,
double s12);
24 double vonMises(
double s11,
double s22,
double s33,
25 double s12,
double s13,
double s23);
28 int principalDirs(
int N,
const double* S,
double* pVals,
double* pDirs);
31 double* pVal,
double* p1Dir,
double* p2Dir);
34 double* pVal,
double* p1Dir,
double* p2Dir,
double* p3Dir);
42 double s12,
double s13,
double s23,
double* pVal);
46 double& p1,
double& p2)
48 double p[3] = { 0.0, 0.0, 0.0 };
55 double s12,
double s13,
double s23,
56 double& p1,
double& p2,
double& p3)
58 double p[3] = { 0.0, 0.0, 0.0 };
69 void maxShearDir (
int N,
const double* pMaxDir,
const double* pMinDir,
73 void rotate2D(
const double* inTensor,
77 void rotate (
const double* inTensor,
78 const double* eX,
const double* eY,
81 void rotate3D(
const double* inTensor,
85 void rotate (
const double* inTensor,
86 const double* eX,
const double* eY,
const double* eZ,
90 void from2Dto3D(
const double* tensor2D,
double* tensor3D);
92 void from3Dto2D(
const double* tensor3D,
double* tensor2D);