muMECH
1.0
|
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]) |
Namespace of the functions transforming vectors and strain/stress tensors saved in vectors with TNTV_THEORETICAL_FEEP notation, see types.h.
void mumech::TransformTensors::give_T | ( | double * | T, |
const double * | eullerAngles, | ||
EullerRotations | flag, | ||
InclusionGeometry | inclGeometry | ||
) |
Function calculates the transformation matrix from given Euller angles.
T | Array the transformation matrix to be saved |
eullerAngles | Array containing the Euller angles: eullerAngles = {psi, nu, phi}^T |
flag | Succesive order of Euller rotations (ZXZ - Zeman, ZXY - ANSYS, etc.) |
inclGeometry | Inclusion 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 | ||
) |
Definition at line 183 of file transformTensors.cpp.
References _errorr, mumech::_XYX_, mumech::_XYZ_, mumech::_XZX_, mumech::_XZY_, mumech::_YXY_, mumech::_YXZ_, mumech::_YZX_, mumech::_YZY_, mumech::_ZXY_, mumech::_ZXZ_, mumech::_ZYX_, and mumech::_ZYZ_.
Referenced by give_T().
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.
Te | Array the transformation matrix to be saved. |
T | Transformation matrix of a vector. |
inclGeometry | Inclusion 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.
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.
*TeInv | Array the inverse of transformation matrix to be saved. |
*Te | Transformation matrix. |
inclGeometry | Inclusion 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.
TInv | Array the inverse transformation matrix to be saved. |
T | Transformation matrix of a vector. |
inclGeometry | Geometry 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().