Removed SimulatorState::init( UnstructureGrid& )

This commit is contained in:
Joakim Hove 2016-01-25 07:30:03 +01:00
parent d83cb9e61f
commit 61a600d840
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ try
/// \snippet tutorial3.cpp two-phase state
/// \internal [two-phase state]
TwophaseState state;
state.init(grid, 2);
state.init(grid.number_of_cells , grid.number_of_faces, 2);
state.setFirstSat(allcells, props, TwophaseState::MinSat);
/// \internal [two-phase state]
/// \endinternal

View File

@ -213,7 +213,7 @@ try
/// \snippet tutorial4.cpp two-phase state
/// \internal[two-phase state]
TwophaseState state;
state.init(grid, 2);
state.init(grid.number_of_cells , grid.number_of_faces, 2);
state.setFirstSat(allcells, props, TwophaseState::MinSat);
/// \internal[two-phase state]
/// \endinternal