Class for doing gravity segregation (only), on a vertical column of cells. More...
#include <GravityColumnSolverPolymer.hpp>
Public Member Functions | |
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 | solve (const std::vector< std::vector< int > > &columns, const double dt, std::vector< double > &s, std::vector< double > &c, std::vector< double > &cmax) |
Class for doing gravity segregation (only), on a vertical column of cells.
Opm::GravityColumnSolverPolymer< FluxModel, Model >::GravityColumnSolverPolymer | ( | FluxModel & | fmodel, | |
const Model & | model, | |||
const UnstructuredGrid & | grid, | |||
const double | tol, | |||
const int | maxit | |||
) | [inline] |
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 | |||
) | [inline] |
[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). |