mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-13 08:34:49 -05:00
Merge pull request #938 from dr-robertk/PR/cleanup-paralleldebugoutput
ParallelDebugOutput: remove unused variable and tabbing.
This commit is contained in:
@@ -368,10 +368,10 @@ namespace Opm
|
|||||||
if( isIORank )
|
if( isIORank )
|
||||||
{
|
{
|
||||||
// add missing data to global state
|
// add missing data to global state
|
||||||
for (const auto& pair : localState.cellData()) {
|
for (const auto& pair : localState.cellData()) {
|
||||||
const std::string& key = pair.first;
|
const std::string& key = pair.first;
|
||||||
if (!globalState_.hasCellData( key )) {
|
if (!globalState_.hasCellData( key )) {
|
||||||
globalState_.registerCellData( key , localState.numCellDataComponents( key ));
|
globalState_.registerCellData( key , localState.numCellDataComponents( key ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -432,7 +432,7 @@ namespace Opm
|
|||||||
for( size_t i=0; i<stride; ++i )
|
for( size_t i=0; i<stride; ++i )
|
||||||
{
|
{
|
||||||
//write all data from local state to buffer
|
//write all data from local state to buffer
|
||||||
read( buffer, indexMap, data, i, stride );
|
read( buffer, indexMap, data, i, stride );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user