suanPan
tensor::strain Namespace Reference

Functions

double invariant1 (const vec &)
 compute the first invariant of the given 3D strain tensor, could be either normal or deviatoric strain More...
 
double invariant2 (const vec &)
 compute the second invariant of the given 3D strain tensor, could be either normal or deviatoric strain More...
 
double invariant3 (const vec &)
 compute the third invariant of the given 3D strain tensor, could be either normal or deviatoric strain More...
 
double lode (vec)
 
mat to_green (mat &&)
 
mat to_green (const mat &)
 
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::strain::double_contraction ( const vec &  a,
const vec &  b 
)

◆ double_contraction() [2/2]

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

◆ invariant1()

double tensor::strain::invariant1 ( const vec &  E)

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

Parameters
E3D strain tensor in Voigt notation
Returns
the first invariant trace(E)

◆ invariant2()

double tensor::strain::invariant2 ( const vec &  E)

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

Parameters
E3D strain tensor in Voigt notation
Returns
the second invariant 0.5*(trace(E^2)-trace(E)^2)

◆ invariant3()

double tensor::strain::invariant3 ( const vec &  E)

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

Parameters
E3D strain tensor in Voigt notation
Returns
the third invariant det(E)

◆ lode()

double tensor::strain::lode ( vec  E)
Here is the call graph for this function:

◆ norm() [1/2]

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

◆ norm() [2/2]

double tensor::strain::norm ( vec &&  in)

◆ to_green() [1/2]

mat tensor::strain::to_green ( const mat &  gradient)

◆ to_green() [2/2]

mat tensor::strain::to_green ( mat &&  gradient)
Here is the caller graph for this function:

◆ to_tensor()

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

◆ to_voigt()

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