Schedule: move more code to compile unit
This commit is contained in:
@@ -539,10 +539,7 @@ namespace Opm
|
||||
, grid(grid_)
|
||||
{}
|
||||
|
||||
void affected_well(const std::string& well_name) {
|
||||
if (this->sim_update)
|
||||
this->sim_update->affected_wells.insert(well_name);
|
||||
}
|
||||
void affected_well(const std::string& well_name);
|
||||
|
||||
/// \brief Mark that the well occured in a WELSEGS keyword
|
||||
void welsegs_handled(const std::string& well_name)
|
||||
|
||||
@@ -2273,4 +2273,10 @@ std::ostream& operator<<(std::ostream& os, const Schedule& sched)
|
||||
return os;
|
||||
}
|
||||
|
||||
void Schedule::HandlerContext::affected_well(const std::string& well_name)
|
||||
{
|
||||
if (this->sim_update)
|
||||
this->sim_update->affected_wells.insert(well_name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user