Skip to content
Snippets Groups Projects
Commit b62d36c2 authored by Benjamin Faigle's avatar Benjamin Faigle
Browse files

-mappers in new vtk-writer need to be updated in case of adaptive simulations

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6067 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent da64186e
No related branches found
No related tags found
No related merge requests found
......@@ -533,6 +533,8 @@ public:
if (!resultWriter_)
resultWriter_ = new VtkMultiWriter(gridView_, asImp_().name());
if (GET_PROP_VALUE(TypeTag,PTAG(AdaptiveGrid)))
resultWriter_->gridChanged();
resultWriter_->beginWrite(timeManager_.time() + timeManager_.timeStepSize());
model().addOutputVtkFields(*resultWriter_);
asImp_().addOutputVtkFields();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment