Skip to content

Commit

Permalink
Removed yet another unused constructor parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
avdg81 committed Oct 25, 2024
1 parent 989f71f commit 54a4489
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void AddCustomStrategiesToPython(pybind11::module& m)
py::class_<GeoMechanicsNewtonRaphsonErosionProcessStrategyType,
typename GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer, BaseSolvingStrategyType>(
m, "GeoMechanicsNewtonRaphsonErosionProcessStrategy")
.def(py::init<ModelPart&, BaseSchemeType::Pointer, LinearSolverType::Pointer, ConvergenceCriteriaType::Pointer,
.def(py::init<ModelPart&, BaseSchemeType::Pointer, ConvergenceCriteriaType::Pointer,
BuilderAndSolverType::Pointer, Parameters&, int, bool, bool, bool>());

py::class_<GeoMechanicsRammArcLengthStrategyType, typename GeoMechanicsRammArcLengthStrategyType::Pointer, BaseSolvingStrategyType>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class GeoMechanicsNewtonRaphsonErosionProcessStrategy

GeoMechanicsNewtonRaphsonErosionProcessStrategy(ModelPart& model_part,
typename TSchemeType::Pointer pScheme,
typename TLinearSolver::Pointer,
typename TConvergenceCriteriaType::Pointer pNewConvergenceCriteria,
typename TBuilderAndSolverType::Pointer pNewBuilderAndSolver,
Parameters& rParameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ KratosExecute::GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer Krat

auto pSolvingStrategy =
Kratos::make_unique<GeoMechanicsNewtonRaphsonErosionProcessStrategy<SparseSpaceType, LocalSpaceType, KratosExecute::LinearSolverType>>(
rModelPart, p_scheme, p_solver, p_criteria, p_builder_and_solver, p_parameters,
MaxIterations, CalculateReactions, ReformDofSetAtEachStep, MoveMeshFlag);
rModelPart, p_scheme, p_criteria, p_builder_and_solver, p_parameters, MaxIterations,
CalculateReactions, ReformDofSetAtEachStep, MoveMeshFlag);

pSolvingStrategy->Check();
return pSolvingStrategy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ def _ConstructSolver(self, builder_and_solver, strategy_type):
self.strategy_params.AddValue("max_piping_iterations", self.settings["max_piping_iterations"])
solving_strategy = GeoMechanicsApplication.GeoMechanicsNewtonRaphsonErosionProcessStrategy(self.computing_model_part,
self.scheme,
self.linear_solver,
self.convergence_criterion,
builder_and_solver,
self.strategy_params,
Expand Down

0 comments on commit 54a4489

Please sign in to comment.