mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #676 from pgdr/nnc-simple-fixup
The getNNC API in Parser changed; remove *
This commit is contained in:
commit
e02927dbf5
@ -198,7 +198,7 @@ namespace Opm
|
||||
parameter::ParameterGroup param_;
|
||||
// setupOutput()
|
||||
bool output_to_files_ = false;
|
||||
std::string output_dir_ = std::string("output");
|
||||
std::string output_dir_ = std::string(".");
|
||||
// readDeckInput()
|
||||
std::shared_ptr<const Deck> deck_;
|
||||
std::shared_ptr<EclipseState> eclipse_state_;
|
||||
@ -339,7 +339,7 @@ namespace Opm
|
||||
if (output_to_files_) {
|
||||
// Create output directory if needed.
|
||||
output_dir_ =
|
||||
param_.getDefault("output_dir", std::string("output"));
|
||||
param_.getDefault("output_dir", std::string("."));
|
||||
boost::filesystem::path fpath(output_dir_);
|
||||
try {
|
||||
create_directories(fpath);
|
||||
|
@ -152,7 +152,7 @@ namespace Opm
|
||||
|
||||
// Handle NNCs
|
||||
if (eclState) {
|
||||
nnc_ = *(eclState->getNNC());
|
||||
nnc_ = eclState->getNNC();
|
||||
}
|
||||
|
||||
// opmfil is hardcoded to be true. i.e the pinch processor is never used
|
||||
|
Loading…
Reference in New Issue
Block a user