![]() |
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.
|
Functions | |
| void | ComputeActiveDofs (ModelPart &rModelPart, std::vector< int > &rActiveDofs, const ModelPart::DofsArrayType &rDofSet) |
| This method computes the active dofs. More... | |
| void | DistributedComputeActiveDofs (ModelPart &rModelPart, std::vector< int > &rActiveDofs, const ModelPart::DofsArrayType &rDofSet, const std::size_t InitialDofId) |
| This method computes the active dofs. More... | |
| void | ResetSlaveDofs (ModelPart &rModelPart) |
| This method resets the values of the slave dofs. More... | |
| void | ApplyConstraints (ModelPart &rModelPart) |
| This method resets the values of the slave dofs. More... | |
| 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. More... | |
| void | PreComputeExplicitConstraintMassAndInertia (ModelPart &rModelPart, const std::string &DofDisplacementVariableName="DISPLACEMENT", const std::string &MassVariableName="NODAL_MASS", const std::string &DofRotationVariableName="ROTATION", const std::string &InertiaVariableName="NODAL_INERTIA_TENSOR") |
| This method precomputes the contribution of the explicit MPC over nodal masses and inertias. More... | |
| void Kratos::ConstraintUtilities::ApplyConstraints | ( | ModelPart & | rModelPart | ) |
This method resets the values of the slave dofs.
| rModelPart | The model of the problem to solve |
| void Kratos::ConstraintUtilities::ComputeActiveDofs | ( | ModelPart & | rModelPart, |
| std::vector< int > & | rActiveDofs, | ||
| const ModelPart::DofsArrayType & | rDofSet | ||
| ) |
This method computes the active dofs.
| rModelPart | Reference to the ModelPart containing the problem |
| rActiveDofs | Vector containing the active dofs |
| rDofSet | The whole set of dofs |
| void Kratos::ConstraintUtilities::DistributedComputeActiveDofs | ( | ModelPart & | rModelPart, |
| std::vector< int > & | rActiveDofs, | ||
| const ModelPart::DofsArrayType & | rDofSet, | ||
| const std::size_t | InitialDofId | ||
| ) |
This method computes the active dofs.
| rModelPart | Reference to the ModelPart containing the problem |
| rActiveDofs | Vector containing the active dofs |
| rDofSet | The whole set of dofs |
| void Kratos::ConstraintUtilities::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.
| rModelPart | The model of the problem to solve |
| rDofVariableNames | The name of the Dof variables to check |
| rResidualDofVariableNames | The name name of the corresponding residual variables |
| void Kratos::ConstraintUtilities::PreComputeExplicitConstraintMassAndInertia | ( | ModelPart & | rModelPart, |
| const std::string & | DofDisplacementVariableName = "DISPLACEMENT", |
||
| const std::string & | MassVariableName = "NODAL_MASS", |
||
| const std::string & | DofRotationVariableName = "ROTATION", |
||
| const std::string & | InertiaVariableName = "NODAL_INERTIA_TENSOR" |
||
| ) |
This method precomputes the contribution of the explicit MPC over nodal masses and inertias.
| rModelPart | The model of the problem to solve |
| DofDisplacementVariableName | The name of the Dof variables to check |
| MassVariableName | The name of the variable of the nodal mass |
| DofRotationVariableName | The name of the rotational variable name |
| InertiaVariableName | The inertia variable to be considered |
| void Kratos::ConstraintUtilities::ResetSlaveDofs | ( | ModelPart & | rModelPart | ) |
This method resets the values of the slave dofs.
| rModelPart | The model of the problem to solve |