mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
VTK: some infrastructure work to support writing of vector fields
- the constructor of VtkMultiWriter now expects a grid view as first argument. unfortunately the old API cannot be kept around with this change. - as a follow up beginWrite() does not need the grid view as an argument anymore - if the grid has been changed during two time steps, the new method gridChanged() must be called before beginWrite() is called
This commit is contained in:
committed by
Andreas Lauser
parent
ced58e80cb
commit
a48ab2bf8e
@@ -154,8 +154,9 @@ public:
|
||||
*/
|
||||
bool shouldWriteOutput() const /*@\label{tutorial-coupled:output}@*/
|
||||
{
|
||||
return this->timeManager().timeStepIndex() > 0 &&
|
||||
(this->timeManager().timeStepIndex() % 1 == 0);
|
||||
return
|
||||
this->timeManager().timeStepIndex() > 0 &&
|
||||
(this->timeManager().timeStepIndex() % 1 == 0);
|
||||
}
|
||||
|
||||
// Return the temperature within a finite volume. We use constant
|
||||
|
||||
Reference in New Issue
Block a user