mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
Fix to write vtks on report steps
This commit is contained in:
1 parent
3f436501d2
commit
b0b9b1205c
1 file changed
+3
-1
+3
-1
@@ -737,7 +737,9 @@ public:
|
||||
OPM_TIMEBLOCK(problemWriteOutput);
|
||||
// use the generic code to prepare the output fields and to
|
||||
// write the desired VTK files.
|
||||
ParentType::writeOutput(verbose);
|
||||
if (EWOMS_GET_PARAM(TypeTag, bool, EnableWriteAllSolutions) || this->simulator().episodeWillBeOver()){
|
||||
ParentType::writeOutput(verbose);
|
||||
}
|
||||
|
||||
bool isSubStep = !EWOMS_GET_PARAM(TypeTag, bool, EnableWriteAllSolutions) && !this->simulator().episodeWillBeOver();
|
||||
|
||||
|
||||
Reference in new issue
Block a user