My Project
|
Interface for writing non-compositional (blackoil, two-phase) simulation state to files. More...
#include <OutputWriter.hpp>
Public Member Functions | |
virtual | ~OutputWriter () |
Allow derived classes to be used in the unique_ptr that is returned from the create() method. | |
virtual void | writeInit (const NNC &nnc)=0 |
Write the static data (grid, PVT curves, etc) to disk. | |
virtual void | writeTimeStep (int report_step, time_t current_posix_time, double seconds_elapsed, data::Solution reservoirState, data::Wells, bool isSubstep)=0 |
Write a blackoil reservoir state to disk for later inspection with visualization tools like ResInsight. | |
Interface for writing non-compositional (blackoil, two-phase) simulation state to files.
Use the create() function to setup a chain of writer based on the configuration values, e.g.
|
inlinevirtual |
Allow derived classes to be used in the unique_ptr that is returned from the create() method.
(Every class that should be delete'd should have a proper constructor, and if the base class isn't virtual then the compiler won't call the right one when the unique_ptr goes out of scope).
|
pure virtual |
Write the static data (grid, PVT curves, etc) to disk.
This routine should be called before the first timestep (i.e. when timer.currentStepNum () == 0)
|
pure virtual |
Write a blackoil reservoir state to disk for later inspection with visualization tools like ResInsight.
[in] | report_step | The current report step |
[in] | current_posix_time | Seconds elapsed since epoch |
[in] | seconds_elapsed | Seconds elapsed since simulation start |
[in] | reservoirState | The thermodynamic state of the reservoir |
[in] | wells | Well data |
This routine should be called after the timestep has been advanced, i.e. timer.currentStepNum () > 0.