Fix to write vtks on report steps

This commit is contained in:
David Landa Marban 2023-10-09 09:04:22 +02:00
parent 3f436501d2
commit b0b9b1205c

View File

@ -737,7 +737,9 @@ public:
OPM_TIMEBLOCK(problemWriteOutput);
// use the generic code to prepare the output fields and to
// write the desired VTK files.
if (EWOMS_GET_PARAM(TypeTag, bool, EnableWriteAllSolutions) || this->simulator().episodeWillBeOver()){
ParentType::writeOutput(verbose);
}
bool isSubStep = !EWOMS_GET_PARAM(TypeTag, bool, EnableWriteAllSolutions) && !this->simulator().episodeWillBeOver();