Simulators handle WPOLYMER keyword.

They do this by using the class PolymerInflowFromDeck
instead of PolymerInflowBasic if there is a WPOLYMER
keyword somewhere in the deck epochs. If there is no
WPOLYMER, the parameters 'poly_start_days' etc. will
be used to construct an instance of PolymerInflowBasic
instead.
This commit is contained in:
Atgeirr Flø Rasmussen
2012-10-04 16:00:33 +02:00
parent f2e7c0bece
commit e13e77a7bb
6 changed files with 78 additions and 18 deletions

View File

@@ -33,6 +33,7 @@ namespace Opm
class IncompPropertiesInterface;
class PolymerProperties;
class RockCompressibility;
class PolymerInflowInterface;
class LinearSolverInterface;
class SimulatorTimer;
class PolymerState;
@@ -64,6 +65,7 @@ namespace Opm
/// \param[in] poly_props polymer properties
/// \param[in] rock_comp if non-null, rock compressibility properties
/// \param[in] wells if non-null, wells data structure
/// \param[in] polymer_inflow polymer inflow controls
/// \param[in] src source terms
/// \param[in] bcs boundary conditions, treat as all noflow if null
/// \param[in] linsolver linear solver
@@ -74,6 +76,7 @@ namespace Opm
const PolymerProperties& poly_props,
const RockCompressibility* rock_comp_props,
const Wells* wells,
const PolymerInflowInterface& polymer_inflow,
const std::vector<double>& src,
const FlowBoundaryConditions* bcs,
LinearSolverInterface& linsolver,