NNC variable not defaulted in writeInit
This commit is contained in:
@@ -75,7 +75,7 @@ public:
|
||||
* This routine should be called before the first timestep (i.e. when
|
||||
* timer.currentStepNum () == 0)
|
||||
*/
|
||||
virtual void writeInit( const NNC& nnc = NNC() ) = 0;
|
||||
virtual void writeInit( const NNC& nnc ) = 0;
|
||||
|
||||
/*!
|
||||
* \brief Write a blackoil reservoir state to disk for later inspection with
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
*
|
||||
* If NNC is given, writes TRANNNC keyword.
|
||||
*/
|
||||
void writeInit( const NNC& nnc = NNC() );
|
||||
void writeInit( const NNC& nnc );
|
||||
|
||||
/*!
|
||||
* \brief Write a reservoir state and summary information to disk.
|
||||
|
||||
@@ -266,7 +266,7 @@ BOOST_AUTO_TEST_CASE(EclipseWriterIntegration)
|
||||
|
||||
auto start_time = util_make_datetime( 0, 0, 0, 10, 10, 2008 );
|
||||
auto first_step = util_make_datetime( 0, 0, 0, 10, 11, 2008 );
|
||||
eclWriter.writeInit();
|
||||
eclWriter.writeInit( NNC() );
|
||||
|
||||
data::Wells wells;
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ BOOST_AUTO_TEST_CASE(test_RFT) {
|
||||
time_t start_time = eclipseState->getSchedule()->posixStartTime();
|
||||
/* step time read from deck and hard-coded here */
|
||||
time_t step_time = util_make_datetime( 0, 0, 0, 10, 10, 2008 );
|
||||
eclipseWriter.writeInit();
|
||||
eclipseWriter.writeInit( NNC() );
|
||||
|
||||
Opm::data::Wells wells {
|
||||
{ { "OP_1", { {}, 1.0, 1.1, {} } },
|
||||
|
||||
@@ -232,7 +232,7 @@ first_sim(test_work_area_type * test_area) {
|
||||
EclipseWriter eclWriter( eclipseState, num_cells, nullptr );
|
||||
auto start_time = util_make_datetime( 0, 0, 0, 1, 11, 1979 );
|
||||
auto first_step = util_make_datetime( 0, 0, 0, 10, 10, 2008 );
|
||||
eclWriter.writeInit();
|
||||
eclWriter.writeInit( NNC() );
|
||||
|
||||
auto sol = mkSolution( num_cells );
|
||||
auto wells = mkWells();
|
||||
|
||||
@@ -141,7 +141,7 @@ BOOST_AUTO_TEST_CASE(EclipseWriteRestartWellInfo) {
|
||||
const auto num_cells = eclipseState->getInputGrid()->getCartesianSize();
|
||||
EclipseWriter eclipseWriter( eclipseState, num_cells, nullptr );
|
||||
|
||||
eclipseWriter.writeInit();
|
||||
eclipseWriter.writeInit( NNC() );
|
||||
|
||||
int countTimeStep = eclipseState->getSchedule()->getTimeMap()->numTimesteps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user