From d07c495c5cfb097fcd183ee6c999e3fa5f3b1569 Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Tue, 12 May 2015 09:38:46 +0000 Subject: [PATCH] Removed if-condtion requiring DUNE_TRHOW only for rank==0 in updateStaticData function of compositional models. Now all failing processes call DUNE_THROW. This is supposed to make parallel runs more stable. Revieved by Alex git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14747 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/implicit/2p2c/2p2cmodel.hh | 1 - dumux/implicit/3p3c/3p3cmodel.hh | 1 - dumux/implicit/co2/co2model.hh | 1 - 3 files changed, 3 deletions(-) diff --git a/dumux/implicit/2p2c/2p2cmodel.hh b/dumux/implicit/2p2c/2p2cmodel.hh index ee295dc614..c410aa8a3d 100644 --- a/dumux/implicit/2p2c/2p2cmodel.hh +++ b/dumux/implicit/2p2c/2p2cmodel.hh @@ -563,7 +563,6 @@ public: succeeded = this->gridView_().comm().min(succeeded); if (!succeeded) { - if(this->problem_().gridView().comm().rank() == 0) DUNE_THROW(NumericalProblem, "A process did not succeed in updating the static data."); return; diff --git a/dumux/implicit/3p3c/3p3cmodel.hh b/dumux/implicit/3p3c/3p3cmodel.hh index 9241602ed5..60b24c7908 100644 --- a/dumux/implicit/3p3c/3p3cmodel.hh +++ b/dumux/implicit/3p3c/3p3cmodel.hh @@ -552,7 +552,6 @@ public: succeeded = this->gridView_().comm().min(succeeded); if (!succeeded) { - if(this->problem_().gridView().comm().rank() == 0) DUNE_THROW(NumericalProblem, "A process did not succeed in updating the static data."); return; diff --git a/dumux/implicit/co2/co2model.hh b/dumux/implicit/co2/co2model.hh index 2028656bf8..73d377261e 100644 --- a/dumux/implicit/co2/co2model.hh +++ b/dumux/implicit/co2/co2model.hh @@ -154,7 +154,6 @@ public: succeeded = this->gridView_().comm().min(succeeded); if (!succeeded) { - if(this->problem_().gridView().comm().rank() == 0) DUNE_THROW(NumericalProblem, "A process did not succeed in updating the static data."); return; -- GitLab