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.
|
Typedefs | |
typedef std::size_t | IndexType |
typedef Matrix | MatrixType |
typedef Vector | VectorType |
Functions | |
void | 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 | 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... | |
typedef std::size_t Kratos::GeometricalTransformationUtilities::IndexType |
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.
Theta | It is the angle of rotation about mAxisOfRotationVector and mCenterOfRotation. |
rMatrix | It is the transformation matrix which will be calculated in this function. This should be of correct size (4x4). |
rAxisOfRotationVector | The axis rotation vector |
rCenterOfRotation | The center of rotation |
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.
Modulus | It is the magnitude by which the translation should happen in the direction of mDirOfTranslation. |
rMatrix | It is the transformation matrix which will be calculated in this function. This should be of correct size (4x4). |
rDirOfTranslation | Direction of translation |