58 ModelPart& rModelPart,
59 std::vector<int>& rActiveDofs,
70 ModelPart& rModelPart,
71 std::vector<int>& rActiveDofs,
73 const std::size_t InitialDofId
95 ModelPart& rModelPart,
96 const std::vector<std::string>& rDofVariableNames,
97 const std::vector<std::string>& rResidualDofVariableNames
110 ModelPart& rModelPart,
111 const std::string& DofDisplacementVariableName =
"DISPLACEMENT",
112 const std::string& MassVariableName =
"NODAL_MASS",
113 const std::string& DofRotationVariableName =
"ROTATION",
114 const std::string& InertiaVariableName =
"NODAL_INERTIA_TENSOR"
PointerVectorSet< DofType > DofsArrayType
Definition: model_part.h:115
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
This namespace includes several utilities necessaries for the computation of the MPC.
void PreComputeExplicitConstraintMassAndInertia(ModelPart &rModelPart, const std::string &DofDisplacementVariableName, const std::string &MassVariableName, const std::string &DofRotationVariableName, const std::string &InertiaVariableName)
This method precomputes the contribution of the explicit MPC over nodal masses and inertias.
Definition: constraint_utilities.cpp:296
void ComputeActiveDofs(ModelPart &rModelPart, std::vector< int > &rActiveDofs, const ModelPart::DofsArrayType &rDofSet)
This method computes the active dofs.
Definition: constraint_utilities.cpp:26
void ApplyConstraints(ModelPart &rModelPart)
This method resets the values of the slave dofs.
Definition: constraint_utilities.cpp:159
void PreComputeExplicitConstraintConstribution(ModelPart &rModelPart, const std::vector< std::string > &rDofVariableNames, const std::vector< std::string > &rResidualDofVariableNames)
This method precomputes the contribution of the explicit MPC over nodal residual forces.
Definition: constraint_utilities.cpp:182
void DistributedComputeActiveDofs(ModelPart &rModelPart, std::vector< int > &rActiveDofs, const ModelPart::DofsArrayType &rDofSet, const std::size_t InitialDofId)
This method computes the active dofs.
Definition: constraint_utilities.cpp:70
void ResetSlaveDofs(ModelPart &rModelPart)
This method resets the values of the slave dofs.
Definition: constraint_utilities.cpp:136
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21