mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Adapt to renaming and other small modifications of state and initialization.
This commit is contained in:
@@ -34,9 +34,9 @@ namespace Opm
|
||||
class PolymerState : public TwophaseState
|
||||
{
|
||||
public:
|
||||
void init(const UnstructuredGrid& g)
|
||||
void init(const UnstructuredGrid& g, int num_phases)
|
||||
{
|
||||
TwophaseState::init(g);
|
||||
TwophaseState::init(g, num_phases);
|
||||
concentration_.resize(g.number_of_cells, 0.0);
|
||||
cmax_.resize(g.number_of_cells, 0.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user