SimulatorCompressiblePolymer.hpp
Go to the documentation of this file.
1/*
2 Copyright 2012 SINTEF ICT, Applied Mathematics.
3
4 This file is part of the Open Porous Media project (OPM).
5
6 OPM is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 OPM is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with OPM. If not, see <http://www.gnu.org/licenses/>.
18*/
19
20#ifndef OPM_SIMULATORCOMPRESSIBLEPOLYMER_HEADER_INCLUDED
21#define OPM_SIMULATORCOMPRESSIBLEPOLYMER_HEADER_INCLUDED
22
23#include <boost/shared_ptr.hpp>
24#include <vector>
25
26struct UnstructuredGrid;
27struct Wells;
28struct FlowBoundaryConditions;
29
30namespace Opm
31{
32 namespace parameter { class ParameterGroup; }
33 class BlackoilPropertiesInterface;
35 class RockCompressibility;
36 class WellsManager;
38 class LinearSolverInterface;
39 class SimulatorTimer;
41 class WellState;
42 struct SimulatorReport;
43
46 {
47 public:
72 SimulatorCompressiblePolymer(const parameter::ParameterGroup& param,
73 const UnstructuredGrid& grid,
74 const BlackoilPropertiesInterface& props,
75 const PolymerProperties& poly_props,
76 const RockCompressibility* rock_comp_props,
77 WellsManager& wells_manager,
78 const PolymerInflowInterface& polymer_inflow,
79 LinearSolverInterface& linsolver,
80 const double* gravity);
81
90 SimulatorReport run(SimulatorTimer& timer,
92 WellState& well_state);
93
94 private:
95 class Impl;
96 // Using shared_ptr instead of scoped_ptr since scoped_ptr requires complete type for Impl.
97 boost::shared_ptr<Impl> pimpl_;
98 };
99
100} // namespace Opm
101
102#endif // OPM_SIMULATORCOMPRESSIBLEPOLYMER_HEADER_INCLUDED
Definition: PolymerBlackoilState.hpp:34
Interface for classes encapsulating polymer inflow information.
Definition: PolymerInflow.hpp:39
Definition: PolymerProperties.hpp:35
Class collecting all necessary components for a two-phase simulation.
Definition: SimulatorCompressiblePolymer.hpp:46
SimulatorReport run(SimulatorTimer &timer, PolymerBlackoilState &state, WellState &well_state)
SimulatorCompressiblePolymer(const parameter::ParameterGroup &param, const UnstructuredGrid &grid, const BlackoilPropertiesInterface &props, const PolymerProperties &poly_props, const RockCompressibility *rock_comp_props, WellsManager &wells_manager, const PolymerInflowInterface &polymer_inflow, LinearSolverInterface &linsolver, const double *gravity)
Definition: CompressibleTpfaPolymer.hpp:33