diff --git a/kratos/solving_strategies/builder_and_solvers/residualbased_block_builder_and_solver.h b/kratos/solving_strategies/builder_and_solvers/residualbased_block_builder_and_solver.h index e3711dcd300c..5e626d1c8db4 100644 --- a/kratos/solving_strategies/builder_and_solvers/residualbased_block_builder_and_solver.h +++ b/kratos/solving_strategies/builder_and_solvers/residualbased_block_builder_and_solver.h @@ -714,8 +714,12 @@ class ResidualBasedBlockBuilderAndSolver { KRATOS_TRY; + // Call the external utility BlockBuildDofArrayUtility::SetUpDofArray(rModelPart, BaseType::mDofSet, this->GetEchoLevel(), BaseType::GetCalculateReactionsFlag()); + // Set the flag as aƱready initialized + BaseType::mDofSetIsInitialized = true; + KRATOS_CATCH(""); }