mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06:00
Remove more unused code.
This commit is contained in:
parent
614c3f35af
commit
0de82f3172
@ -104,17 +104,6 @@ try
|
|||||||
// Grid init
|
// Grid init
|
||||||
grid.reset(new GridManager(*deck));
|
grid.reset(new GridManager(*deck));
|
||||||
|
|
||||||
// use the capitalized part of the deck's filename between the
|
|
||||||
// last '/' and the last '.' character as base name.
|
|
||||||
std::string baseName = deck_filename;
|
|
||||||
auto charPos = baseName.rfind('/');
|
|
||||||
if (charPos != std::string::npos)
|
|
||||||
baseName = baseName.substr(charPos + 1);
|
|
||||||
charPos = baseName.rfind('.');
|
|
||||||
if (charPos != std::string::npos)
|
|
||||||
baseName = baseName.substr(0, charPos);
|
|
||||||
baseName = boost::to_upper_copy(baseName);
|
|
||||||
|
|
||||||
Opm::EclipseWriter outputWriter(param, share_obj(*deck), share_obj(*grid->c_grid()));
|
Opm::EclipseWriter outputWriter(param, share_obj(*deck), share_obj(*grid->c_grid()));
|
||||||
// Rock and fluid init
|
// Rock and fluid init
|
||||||
props.reset(new BlackoilPropertiesFromDeck(*deck, *grid->c_grid(), param));
|
props.reset(new BlackoilPropertiesFromDeck(*deck, *grid->c_grid(), param));
|
||||||
|
Loading…
Reference in New Issue
Block a user