mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
flow: print the "reading deck file" message only once
this is a small follow-up to #1599: not only the banner must be protected but also the "reading deckfile" message. Mea culpa!
This commit is contained in:
parent
74c8e907fb
commit
25ae95375b
@ -138,13 +138,16 @@ int main(int argc, char** argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (outputCout)
|
if (outputCout) {
|
||||||
Opm::FlowMainEbos<PreTypeTag>::printBanner();
|
Opm::FlowMainEbos<PreTypeTag>::printBanner();
|
||||||
|
}
|
||||||
|
|
||||||
// Create Deck and EclipseState.
|
// Create Deck and EclipseState.
|
||||||
try {
|
try {
|
||||||
std::cout << "Reading deck file '" << deckFilename << "'\n";
|
if (outputCout) {
|
||||||
std::cout.flush();
|
std::cout << "Reading deck file '" << deckFilename << "'\n";
|
||||||
|
std::cout.flush();
|
||||||
|
}
|
||||||
Opm::Parser parser;
|
Opm::Parser parser;
|
||||||
typedef std::pair<std::string, Opm::InputError::Action> ParseModePair;
|
typedef std::pair<std::string, Opm::InputError::Action> ParseModePair;
|
||||||
typedef std::vector<ParseModePair> ParseModePairs;
|
typedef std::vector<ParseModePair> ParseModePairs;
|
||||||
|
Loading…
Reference in New Issue
Block a user