mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-24 14:47:44 -05:00
typos and minor changes.
This commit is contained in:
1 parent
61144a73af
commit
0f20e187a6
2 files changed
+8
-10
No files matched your search
@@ -265,12 +265,9 @@ namespace Opm
|
||||
// write resport step number
|
||||
backupfile_.write( (const char *) &reportStep, sizeof(int) );
|
||||
|
||||
const BlackoilState* boState = dynamic_cast< const BlackoilState* > (&state);
|
||||
if( boState ) {
|
||||
backupfile_ << (*boState);
|
||||
}
|
||||
else
|
||||
OPM_THROW(std::logic_error,"cast to BlackoilState failed");
|
||||
const BlackoilState& boState = dynamic_cast< const BlackoilState& > (state);
|
||||
backupfile_ << boState;
|
||||
|
||||
const WellStateFullyImplicitBlackoil& boWellState = static_cast< const WellStateFullyImplicitBlackoil& > (wellState);
|
||||
backupfile_ << boWellState;
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user