Opm::GravityColumnSolverPolymer< FluxModel, Model > Class Template Reference
Detailed Descriptiontemplate<class FluxModel, class Model>
|
Opm::GravityColumnSolverPolymer< FluxModel, Model >::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.
void Opm::GravityColumnSolverPolymer< FluxModel, Model >::solve | ( | const std::vector< std::vector< int > > & | columns, |
const double | dt, | ||
std::vector< double > & | s, | ||
std::vector< double > & | c, | ||
std::vector< double > & | cmax | ||
) |
[in] | columns | for each column (with logical cartesian indices as key), contains the cells on which to solve the segregation problem. For each column, its cells must be in a single vertical column, and ordered (direction doesn't matter). |
[in] | columns | for each column col, columns[col] contains the cells on which to solve the segregation problem. For each column, its cells must be in a single vertical column, connected and ordered (direction doesn't matter). |