SimulatorBase: move the new method bodies from the .hpp to the _impl.hpp file

This commit is contained in:
Andreas Lauser committed 2015-05-28 13:55:54 +02:00
1 parent 662cd9791e
commit 553f32e6cf
2 files changed
+38 -29

No files matched your search

+2 -29
View File
@@ -147,36 +147,9 @@ namespace Opm
void handleAdditionalWellInflow(SimulatorTimer& timer,
WellsManager& wells_manager,
WellState& well_state,
const Wells* wells)
{};
const Wells* wells);
std::shared_ptr<Solver> createSolver(const Wells* wells)
{
typedef typename Traits::Model Model;
typedef typename Model::ModelParameters ModelParams;
ModelParams modelParams( param_ );
typedef NewtonSolver<Model> Solver;
auto model = std::make_shared<Model>(modelParams,
grid_,
props_,
geo_,
rock_comp_props_,
wells,
solver_,
has_disgas_,
has_vapoil_,
terminal_output_);
if (!threshold_pressures_by_face_.empty()) {
model->setThresholdPressures(threshold_pressures_by_face_);
}
typedef typename Solver::SolverParameters SolverParams;
SolverParams solverParams( param_ );
return std::make_shared<Solver>(solverParams, model);
}
std::shared_ptr<Solver> createSolver(const Wells* wells);
void
computeRESV(const std::size_t step,