muMECH  1.0
Namespaces
matrixOperations.h File Reference

Namespace MatrixOperations. More...

#include "elementaryFunctions.h"

Go to the source code of this file.

Namespaces

 mumech
 
 mumech::MatrixOperations
 Namespace of the functions of various matrices/tensor/vector operations.
 

Functions

*** GENERAL TENSOR OPERATIONS ***

Operations with tensors of various notations

double mumech::MatrixOperations::giveTTproduct_1is2x2to3and2x2to3_SS (const double *T1, const double *T2)
 Function gives scalar left-right product of tensor and tensor. More...
 
void mumech::MatrixOperations::giveIsoTensAndVectorProduct (const double *tens, const double *vec, double *result, int dim)
 Function gives the product of the isotropic tensor of seccond order with a vector. More...
 
void mumech::MatrixOperations::giveTVproduct_6is6x6to12and6 (double *result, const double *T, const double *vect)
 Function gives product of tensor and vector - 'result = T * vect'. More...
 
void mumech::MatrixOperations::giveTVproduct_3is3x3to5and3 (double *result, const double *T, const double *vect)
 Function gives product of tensor and vector - 'result = T * vect'. More...
 
double mumech::MatrixOperations::giveVTVproduct_1is3and3x3to5and3 (const double *T, const double *vect)
 Function gives scalar left-right product of tensor and vector - 'result = vect^T * T * vect'. More...
 
void mumech::MatrixOperations::giveTTproduct_3x3to5is3x3to5and3x3to5 (double *result, const double *T1, const double *T2)
 Function gives product of tensor and tensor - 'result = T1 * T2'. More...
 
void mumech::MatrixOperations::giveInverseMatrix (double *mtrx, int n)
 Function computes inversion of squared matrix mtrx. More...
 
void mumech::MatrixOperations::giveInverseMatrix (double **mtrx, int n)
 Function computes inversion of squared matrix mtrx. More...
 
void mumech::MatrixOperations::giveInverseMatrix_core (double **answer, double **mtrx, int n, bool vect)
 Function gives inversion of squared matrix mtrx. More...
 
void mumech::MatrixOperations::printField (double **field, int n, int m, const char *notice)
 Function prints a field which is saved as 2D array. More...
 
void mumech::MatrixOperations::printField (double **field, int n, int m, int lineBreak, const char *notice)
 Function prints a field which is saved as 2D array. More...
 
void mumech::MatrixOperations::printAnisoField (double **field, int n, int *m, int lineBreak, const char *notice)
 Function prints an anisotropic field of type 'double' which is saved as 2D anisotropic array. More...
 
void mumech::MatrixOperations::printAnisoField (int **field, int n, int *m, int lineBreak, const char *notice)
 Function prints an anisotropic field of type 'int' which is saved as 2D anisotropic array. More...
 
void mumech::MatrixOperations::CopyTensorAndReduceToFeep (const double *a, double *b)
 Function copy two double tensor, 'a' -> 'b', saved as 9 component vectors. More...
 
void mumech::MatrixOperations::convert2Dtensor_TRtoROW_notation (double *t)
 Function convert the symmetric double 2D tensor 't'. More...
 
void mumech::MatrixOperations::convert3Dtensor_TFEEPtoROW_notation (double *t)
 Function convert the symmetric double 3D tensor 't'. More...
 
void mumech::MatrixOperations::convert2Dtensor_TRtoVR_notation (double *t)
 Function convert the symmetric double 2D tensor 't'. More...
 
void mumech::MatrixOperations::convert3Dtensor_TRtoVR_notation (double *t)
 Function convert the symmetric double 3D tensor 't'. More...
 
void mumech::MatrixOperations::convert3Dtensor_9ROWto6FEEP_notation (double *t)
 
void mumech::MatrixOperations::convert2Dtensor_4ROWto3FEEP_notation (double *t)
 
void mumech::MatrixOperations::copy3Dto2Dtensors_FEEPreduced (const double *a, double *b)
 Function copy the symmetric double 3D tensor 'a' to 2D tensor 'b'. More...
 
void mumech::MatrixOperations::copy2Dto3Dtensors_FEEPreduced (const double *a, double *b)
 Function copy the symmetric double 2D tensor 'a' to 3D tensor 'b'. More...
 
void mumech::MatrixOperations::copy3DeshelbyTensor_reduced2full (const double *a, double **b)
 Function copies and converts 3D eshelby/stiffness tensor saved in reduced row-wise vector 'a' to full 6x6 matrix 'b'. More...
 
void mumech::MatrixOperations::copy2DeshelbyTensor_reduced2full (const double *a, double **b)
 Function copies and converts 2D eshelby/stiffness tensor saved in reduced row-wise vector 'a' to full 3x3 matrix 'b'. More...
 
void mumech::MatrixOperations::copy3DeshelbyTensor_full2reduced (const double *a, double *b)
 Function copies and converts 3D eshelby/stiffness tensor saved in full row-wise vector 'a' to reduced row-wise vector 'b'. More...
 
void mumech::MatrixOperations::copy3DeshelbyTensor_reduced2full (const double *a, double *b)
 Function copies and converts 3D eshelby/stiffness tensor saved in reduced row-wise vector 'a' to full row-wise vector 'b'. More...
 
void mumech::MatrixOperations::copy2DeshelbyTensor_full2reduced (const double *a, double *b)
 Function copies and converts 2D eshelby/stiffness tensor saved in full row-wise vector 'a' to reduced row-wise vector 'b'. More...
 
void mumech::MatrixOperations::copy2DeshelbyTensor_reduced2full (const double *a, double *b)
 Function copies and converts 2D eshelby/stiffness tensor saved in reduced row-wise vector 'a' to full row-wise vector 'b'. More...
 
void mumech::MatrixOperations::giveUnitSMatrixReduced_2d (double *m)
 Function sets reduced 2d SMatrix to unit matrix. More...
 
void mumech::MatrixOperations::giveUnitSMatrixReduced_3d (double *m)
 Function sets reduced 3d SMatrix to unit matrix. More...
 
void mumech::MatrixOperations::giveUnitSMatrixFull_2d (double *m)
 Function sets reduced 2d SMatrix to unit matrix. More...
 
void mumech::MatrixOperations::giveUnitSMatrixFull_3d (double *m)
 Function sets reduced 3d SMatrix to unit matrix. More...
 
void mumech::MatrixOperations::printSMatrixReduced (const double S[12], const char *notice, unsigned flag)
 Function prints an reduced SMatrix in matrix form. More...
 

Detailed Description

Namespace MatrixOperations.

Definition in file matrixOperations.h.