diff --git a/applications/GeoMechanicsApplication/custom_python/add_custom_strategies_to_python.cpp b/applications/GeoMechanicsApplication/custom_python/add_custom_strategies_to_python.cpp index 31c0bf85f9f0..2e1e5183b4b4 100644 --- a/applications/GeoMechanicsApplication/custom_python/add_custom_strategies_to_python.cpp +++ b/applications/GeoMechanicsApplication/custom_python/add_custom_strategies_to_python.cpp @@ -116,7 +116,7 @@ void AddCustomStrategiesToPython(pybind11::module& m) py::class_( m, "GeoMechanicsNewtonRaphsonErosionProcessStrategy") - .def(py::init()); py::class_( diff --git a/applications/GeoMechanicsApplication/custom_strategies/strategies/geo_mechanics_newton_raphson_erosion_process_strategy.hpp b/applications/GeoMechanicsApplication/custom_strategies/strategies/geo_mechanics_newton_raphson_erosion_process_strategy.hpp index 36c905e77471..aca6fca4a05d 100644 --- a/applications/GeoMechanicsApplication/custom_strategies/strategies/geo_mechanics_newton_raphson_erosion_process_strategy.hpp +++ b/applications/GeoMechanicsApplication/custom_strategies/strategies/geo_mechanics_newton_raphson_erosion_process_strategy.hpp @@ -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, diff --git a/applications/GeoMechanicsApplication/custom_workflows/dgeoflow.cpp b/applications/GeoMechanicsApplication/custom_workflows/dgeoflow.cpp index dbc7c4350839..e0abc0639d35 100644 --- a/applications/GeoMechanicsApplication/custom_workflows/dgeoflow.cpp +++ b/applications/GeoMechanicsApplication/custom_workflows/dgeoflow.cpp @@ -138,8 +138,8 @@ KratosExecute::GeoMechanicsNewtonRaphsonErosionProcessStrategyType::Pointer Krat auto pSolvingStrategy = Kratos::make_unique>( - 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; diff --git a/applications/GeoMechanicsApplication/python_scripts/geomechanics_solver.py b/applications/GeoMechanicsApplication/python_scripts/geomechanics_solver.py index eede7e960674..4a0d43e24856 100644 --- a/applications/GeoMechanicsApplication/python_scripts/geomechanics_solver.py +++ b/applications/GeoMechanicsApplication/python_scripts/geomechanics_solver.py @@ -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,