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 | Typedefs | Functions
geometrical_transformation_utilities.h File Reference
#include "includes/define.h"
#include "includes/ublas_interface.h"
Include dependency graph for geometrical_transformation_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 GeometricalTransformationUtilities
 This namespace includes several utilities necessaries for transformation (translation and rotation)
 
 Kratos::GeometricalTransformationUtilities
 

Typedefs

typedef std::size_t Kratos::GeometricalTransformationUtilities::IndexType
 
typedef Matrix Kratos::GeometricalTransformationUtilities::MatrixType
 
typedef Vector Kratos::GeometricalTransformationUtilities::VectorType
 

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...