|
virtual | ~OutputWriter () |
| Allow derived classes to be used in the unique_ptr that is returned from the create() method. More...
|
|
virtual void | writeInit (const NNC &nnc)=0 |
| Write the static data (grid, PVT curves, etc) to disk. More...
|
|
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. More...
|
|
virtual Opm::OutputWriter::~OutputWriter |
( |
| ) |
|
|
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).
virtual void Opm::OutputWriter::writeInit |
( |
const NNC & |
nnc | ) |
|
|
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)
virtual void Opm::OutputWriter::writeTimeStep |
( |
int |
report_step, |
|
|
time_t |
current_posix_time, |
|
|
double |
seconds_elapsed, |
|
|
data::Solution |
reservoirState, |
|
|
data::Wells |
, |
|
|
bool |
isSubstep |
|
) |
| |
|
pure virtual |
Write a blackoil reservoir state to disk for later inspection with visualization tools like ResInsight.
- Parameters
-
[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.
The documentation for this class was generated from the following file: