This commit is contained in:
Rohith Nair 2017-06-07 14:46:04 +02:00
parent 348cb5e5a4
commit 58285bb8f8
2 changed files with 6 additions and 3 deletions

View File

@ -24,7 +24,6 @@
#define OPM_NONLINEARSOLVER_IMPL_HEADER_INCLUDED
#include <opm/autodiff/NonlinearSolver.hpp>
#include </data/DataExchange/Rohith/opm_dev/opm-common/opm/common/Exceptions.hpp>
#include <opm/common/Exceptions.hpp>
#include <opm/common/ErrorMacros.hpp>

View File

@ -1,14 +1,18 @@
/*
Copyright 2014 IRIS AS
This file is part of the Open Porous Media project (OPM).
OPM is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OPM is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
@ -353,7 +357,7 @@ namespace Opm {
if( solver_verbose_ ) {
std::string msg;
msg = cause_of_failure + "\n Timestep chopped to "
+ std::to_string(unit::convert::to( substepTimer.currentStepLength(), unit::day )) + " days.\n";
+ std::to_string(unit::convert::to( substepTimer.currentStepLength(), unit::day )) + " days.\n";
OpmLog::problem(msg);
}
// reset states
@ -382,4 +386,4 @@ namespace Opm {
}
}
#endif
#endif