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
structural_mechanics_element_utilities.cpp File Reference
#include "includes/checks.h"
#include "structural_mechanics_element_utilities.h"
#include "structural_mechanics_application_variables.h"
#include "utilities/math_utils.h"
Include dependency graph for structural_mechanics_element_utilities.cpp:

Namespaces

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

Functions

int Kratos::StructuralMechanicsElementUtilities::SolidElementCheck (const Element &rElement, const ProcessInfo &rCurrentProcessInfo, const std::vector< ConstitutiveLaw::Pointer > &rConstitutiveLaws)
 This method performs commons checks on the solid elements. More...
 
array_1d< double, 3 > Kratos::StructuralMechanicsElementUtilities::GetBodyForce (const Element &rElement, const GeometryType::IntegrationPointsArrayType &rIntegrationPoints, const IndexType PointNumber)
 This method returns the computed the computed body force. More...
 
bool Kratos::StructuralMechanicsElementUtilities::ComputeLumpedMassMatrix (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo)
 Method to specify if the lumped or the consistent mass-matrix should be computed. More...
 
bool Kratos::StructuralMechanicsElementUtilities::HasRayleighDamping (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo)
 Method to specify if rayligh-damping is specified. More...
 
double Kratos::StructuralMechanicsElementUtilities::GetRayleighAlpha (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo)
 Method to get the rayleigh-alpha parameter. More...
 
double Kratos::StructuralMechanicsElementUtilities::GetRayleighBeta (const Properties &rProperties, const ProcessInfo &rCurrentProcessInfo)
 Method to get the rayleigh-beta parameter. More...
 
double Kratos::StructuralMechanicsElementUtilities::GetDensityForMassMatrixComputation (const Element &rElement)
 Method to returns the density to be consider for the mass-matrix computation. More...
 
void Kratos::StructuralMechanicsElementUtilities::CalculateRayleighDampingMatrix (Element &rElement, Element::MatrixType &rDampingMatrix, const ProcessInfo &rCurrentProcessInfo, const std::size_t MatrixSize)
 Method to calculate the rayleigh damping-matrix. More...
 
double Kratos::StructuralMechanicsElementUtilities::CalculateReferenceLength2D2N (const Element &rElement)
 This function calculates the reference length for 2D2N elements. More...
 
double Kratos::StructuralMechanicsElementUtilities::CalculateCurrentLength2D2N (const Element &rElement)
 This function calculates the current length for 2D2N elements. More...
 
double Kratos::StructuralMechanicsElementUtilities::CalculateReferenceLength3D2N (const Element &rElement)
 This function calculates the reference length for 3D2N elements. More...
 
double Kratos::StructuralMechanicsElementUtilities::CalculateCurrentLength3D2N (const Element &rElement)
 This function calculates the current length for 3D2N elements. More...
 
void Kratos::StructuralMechanicsElementUtilities::InitialCheckLocalAxes (const array_1d< double, 3 > &rv1, const array_1d< double, 3 > &rv2, const array_1d< double, 3 > &rv3, const double Tolerance=1.0e4 *std::numeric_limits< double >::epsilon())
 This function checks the norm of the vectors. More...
 
void Kratos::StructuralMechanicsElementUtilities::BuildRotationMatrix (BoundedMatrix< double, 3, 3 > &rRotationMatrix, const array_1d< double, 3 > &rv1, const array_1d< double, 3 > &rv2, const array_1d< double, 3 > &rv3)
 This function fills a rotation matrix from a set of vectors. More...