muMECH  1.0
Functions
mumech::TransformTensors Namespace Reference

Namespace of the functions transforming vectors and strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h. More...

Functions

void give_T (double *T, const double *eullerAngles, EullerRotations flag, InclusionGeometry inclGeometry)
 Function calculates the transformation matrix from given Euller angles. More...
 
void give_Te (double *Te, const double *T, InclusionGeometry inclGeometry)
 Function calculates the transformation matrix for strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h. More...
 
void give_TInv (double *TInv, const double *T, InclusionGeometry inclGeometry)
 Function calculates the inverse of transformation matrix for vectors. More...
 
void give_TeInv (double *TeInv, const double *Te, InclusionGeometry inclGeometry)
 Function calculates the inverse of transformation matrix for strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h. More...
 
void give_T_3d (double T[9], const double eullerAngles[3], EullerRotations flag)
 
void give_Te_3d (double Te[36], const double T[9])
 

Detailed Description

Namespace of the functions transforming vectors and strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h.

Function Documentation

void mumech::TransformTensors::give_T ( double *  T,
const double *  eullerAngles,
EullerRotations  flag,
InclusionGeometry  inclGeometry 
)

Function calculates the transformation matrix from given Euller angles.

Parameters
TArray the transformation matrix to be saved
eullerAnglesArray containing the Euller angles: eullerAngles = {psi, nu, phi}^T
flagSuccesive order of Euller rotations (ZXZ - Zeman, ZXY - ANSYS, etc.)
inclGeometryInclusion shape.

Definition at line 38 of file transformTensors.cpp.

References _errorr2, give_T_3d(), mumech::giveUnitMatrix2x2(), mumech::giveUnitMatrix3x3(), mumech::IS_CIRCLE, mumech::IS_ELLIPSE, mumech::IS_ELLIPSOID, mumech::IS_OBLATE_SPHEROID, mumech::IS_PROLATE_SPHEROID, mumech::IS_SPHERE, and mumech::IST_e2s().

Referenced by mumech::InclusionRecord3D::initialize(), and mumech::InclusionRecord2D::initialize().

void mumech::TransformTensors::give_T_3d ( double  T[9],
const double  eullerAngles[3],
EullerRotations  flag 
)
void mumech::TransformTensors::give_Te ( double *  Te,
const double *  T,
InclusionGeometry  inclGeometry 
)

Function calculates the transformation matrix for strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h.

Parameters
TeArray the transformation matrix to be saved.
TTransformation matrix of a vector.
inclGeometryInclusion shape.

Definition at line 68 of file transformTensors.cpp.

References _errorr2, give_Te_3d(), mumech::MatrixOperations::giveUnitSMatrixFull_2d(), mumech::MatrixOperations::giveUnitSMatrixFull_3d(), mumech::IS_CIRCLE, mumech::IS_ELLIPSE, mumech::IS_ELLIPSOID, mumech::IS_OBLATE_SPHEROID, mumech::IS_PROLATE_SPHEROID, mumech::IS_SPHERE, mumech::IST_e2s(), and SQR.

Referenced by mumech::InclusionRecord3D::initialize(), and mumech::InclusionRecord2D::initialize().

void mumech::TransformTensors::give_Te_3d ( double  Te[36],
const double  T[9] 
)

Definition at line 370 of file transformTensors.cpp.

References _T, and SQR.

Referenced by give_Te().

void mumech::TransformTensors::give_TeInv ( double *  TeInv,
const double *  Te,
InclusionGeometry  inclGeometry 
)

Function calculates the inverse of transformation matrix for strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h.

Parameters
*TeInvArray the inverse of transformation matrix to be saved.
*TeTransformation matrix.
inclGeometryInclusion shape.

Definition at line 133 of file transformTensors.cpp.

References _errorr2, mumech::giveTransposedMatrix(), mumech::MatrixOperations::giveUnitSMatrixFull_2d(), mumech::MatrixOperations::giveUnitSMatrixFull_3d(), mumech::IS_CIRCLE, mumech::IS_ELLIPSE, mumech::IS_ELLIPSOID, mumech::IS_OBLATE_SPHEROID, mumech::IS_PROLATE_SPHEROID, mumech::IS_SPHERE, and mumech::IST_e2s().

Referenced by mumech::InclusionRecord3D::initialize().

void mumech::TransformTensors::give_TInv ( double *  TInv,
const double *  T,
InclusionGeometry  inclGeometry 
)

Function calculates the inverse of transformation matrix for vectors.

Parameters
TInvArray the inverse transformation matrix to be saved.
TTransformation matrix of a vector.
inclGeometryGeometry of inclusion, defined in "eshelbySoluUniformField.h".

Definition at line 109 of file transformTensors.cpp.

References _errorr2, mumech::giveTransposedMatrix(), mumech::giveUnitMatrix2x2(), mumech::giveUnitMatrix3x3(), mumech::IS_CIRCLE, mumech::IS_ELLIPSE, mumech::IS_ELLIPSOID, mumech::IS_OBLATE_SPHEROID, mumech::IS_PROLATE_SPHEROID, mumech::IS_SPHERE, and mumech::IST_e2s().

Referenced by mumech::InclusionRecord3D::initialize(), mumech::InclusionRecord2D::initialize(), and mumech::Inclusion::input_data_initialize_and_check_consistency().