Remove redundant local state in ParallelDebugOutput

This commit is contained in:
Tor Harald Sandve
2017-08-08 08:10:55 +02:00
parent 593546da4b
commit 2bf8d48272
2 changed files with 15 additions and 36 deletions

View File

@@ -174,14 +174,17 @@ void solutionToSim( const data::Solution& sol,
}
if( sol.has( "RS" ) ) {
state.registerCellData("GASOILRATIO", 1);
state.getCellData( "GASOILRATIO" ) = sol.data( "RS" );
}
if( sol.has( "RV" ) ) {
state.registerCellData("RV", 1);
state.getCellData( "RV" ) = sol.data( "RV" );
}
if ( sol.has( "SSOL" ) ) {
state.registerCellData("SSOL", 1);
state.getCellData("SSOL") = sol.data("SSOL");
}