Merge pull request #2643 from atgeirr/fix-casename

Always create proper case name.
This commit is contained in:
Atgeirr Flø Rasmussen 2020-05-29 13:48:18 +02:00 committed by GitHub
commit dba1b46e8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,8 +268,7 @@ public:
edgeWeightsMethod_ = Dune::EdgeWeightMethod(EWOMS_GET_PARAM(TypeTag, int, EdgeWeightsMethod)); edgeWeightsMethod_ = Dune::EdgeWeightMethod(EWOMS_GET_PARAM(TypeTag, int, EdgeWeightsMethod));
ownersFirst_ = EWOMS_GET_PARAM(TypeTag, bool, OwnerCellsFirst); ownersFirst_ = EWOMS_GET_PARAM(TypeTag, bool, OwnerCellsFirst);
// Skip processing of filename if external deck already exists. // Make proper case name.
if (!externalDeck_)
{ {
if (fileName == "") if (fileName == "")
throw std::runtime_error("No input deck file has been specified as a command line argument," throw std::runtime_error("No input deck file has been specified as a command line argument,"