20 #ifndef OPM_GRAVITYCOLUMNSOLVERPOLYMER_HEADER_INCLUDED 21 #define OPM_GRAVITYCOLUMNSOLVERPOLYMER_HEADER_INCLUDED 23 #include <opm/core/grid.h> 32 template <
class FluxModel,
class Model>
40 const UnstructuredGrid& grid,
49 void solve(
const std::vector<std::vector<int> >& columns,
51 std::vector<double>& s,
52 std::vector<double>& c,
53 std::vector<double>& cmax);
56 void solveSingleColumn(
const std::vector<int>& column_cells,
58 std::vector<double>& s,
59 std::vector<double>& c,
60 std::vector<double>& cmax,
61 std::vector<double>& sol_vec
65 const UnstructuredGrid& grid_;
72 #include <opm/polymer/GravityColumnSolverPolymer_impl.hpp> 74 #endif // OPM_GRAVITYCOLUMNSOLVERPOLYMER_HEADER_INCLUDED Class for doing gravity segregation (only), on a vertical column of cells.
Definition: GravityColumnSolverPolymer.hpp:33
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: AdditionalObjectDeleter.hpp:22
GravityColumnSolverPolymer(FluxModel &fmodel, const Model &model, const UnstructuredGrid &grid, const double tol, const int maxit)
Note: the model will be changed since it stores computed quantities in itself, such as mobilities...
Definition: GravityColumnSolverPolymer_impl.hpp:51
void solve(const std::vector< std::vector< int > > &columns, const double dt, std::vector< double > &s, std::vector< double > &c, std::vector< double > &cmax)
Definition: GravityColumnSolverPolymer_impl.hpp:125