suanPan
tensor::stress Namespace Reference

Functions

double invariant1 (const vec &)
 compute the first invariant of the given 3D stress tensor, could be either normal or deviatoric stress More...
 
double invariant2 (const vec &)
 compute the second invariant of the given 3D stress tensor, could be either normal or deviatoric stress More...
 
double invariant3 (const vec &)
 compute the third invariant of the given 3D stress tensor, could be either normal or deviatoric stress More...
 
double lode (vec)
 
vec lode_der (vec)
 
mat to_tensor (const vec &)
 
vec to_voigt (const mat &)
 
double norm (const vec &)
 
double norm (vec &&)
 
double double_contraction (const vec &, const vec &)
 
double double_contraction (vec &&, vec &&)
 

Function Documentation

◆ double_contraction() [1/2]

double tensor::stress::double_contraction ( const vec &  a,
const vec &  b 
)
Here is the caller graph for this function:

◆ double_contraction() [2/2]

double tensor::stress::double_contraction ( vec &&  a,
vec &&  b 
)

◆ invariant1()

double tensor::stress::invariant1 ( const vec &  S)

compute the first invariant of the given 3D stress tensor, could be either normal or deviatoric stress

Parameters
S3D stress tensor in Voigt notation
Returns
the first invariant trace(S)
Here is the caller graph for this function:

◆ invariant2()

double tensor::stress::invariant2 ( const vec &  S)

compute the second invariant of the given 3D stress tensor, could be either normal or deviatoric stress

Parameters
S3D stress tensor in Voigt notation
Returns
the second invariant 0.5*(trace(S^2)-trace(S)^2)
Here is the caller graph for this function:

◆ invariant3()

double tensor::stress::invariant3 ( const vec &  S)

compute the third invariant of the given 3D stress tensor, could be either normal or deviatoric stress

Parameters
S3D stress tensor in Voigt notation
Returns
the third invariant det(S)
Here is the caller graph for this function:

◆ lode()

double tensor::stress::lode ( vec  S)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lode_der()

vec tensor::stress::lode_der ( vec  S)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ norm() [1/2]

double tensor::stress::norm ( const vec &  in)
Here is the caller graph for this function:

◆ norm() [2/2]

double tensor::stress::norm ( vec &&  in)
Here is the caller graph for this function:

◆ to_tensor()

mat tensor::stress::to_tensor ( const vec &  in_stress)
Here is the caller graph for this function:

◆ to_voigt()

vec tensor::stress::to_voigt ( const mat &  in_stress)
Here is the caller graph for this function: