KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Namespaces | Functions
geometrical_transformation_utilities.cpp File Reference
#include "utilities/geometrical_transformation_utilities.h"
Include dependency graph for geometrical_transformation_utilities.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::GeometricalTransformationUtilities
 

Functions

void Kratos::GeometricalTransformationUtilities::CalculateTranslationMatrix (const double Modulus, MatrixType &rMatrix, const DenseVector< double > &rDirOfTranslation)
 Calculate the transformation matrix which translates the given vector along mDirOfTranslation by mDistance. More...
 
void Kratos::GeometricalTransformationUtilities::CalculateRotationMatrix (const double Theta, MatrixType &rMatrix, const DenseVector< double > &rAxisOfRotationVector, const DenseVector< double > &rCenterOfRotation)
 Calculate the transformation matrix which rotates the given vector around mAxisOfRotationVector and mCenterOfRotation by provided Theta and stores the result in rMatrix The following code is generated from MATLAB and is adapted here. More...