mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2643 from atgeirr/fix-casename
Always create proper case name.
This commit is contained in:
commit
dba1b46e8c
@ -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,"
|
||||||
|
Loading…
Reference in New Issue
Block a user