The TimeIntegratedWriter class is a decorator for another writer. Its purpose is to only call the underlying Writer object at fixed times around a time.
More...
#include <alsfvm/io/TimeIntegratedWriter.hpp>
The TimeIntegratedWriter class is a decorator for another writer. Its purpose is to only call the underlying Writer object at fixed times around a time.
This will save every timestep at time tau for which |tau-T|<delta, for user specified T and delta.
◆ TimeIntegratedWriter()
alsfvm::io::TimeIntegratedWriter::TimeIntegratedWriter |
( |
alsfvm::shared_ptr< Writer > & |
writer, |
|
|
real |
time, |
|
|
real |
timeRadius |
|
) |
| |
- Parameters
-
writer | the underlying writer to actually use. |
time | the center of the time to write to |
timeRadius | the radius of the time ball to dump |
◆ ~TimeIntegratedWriter()
virtual alsfvm::io::TimeIntegratedWriter::~TimeIntegratedWriter |
( |
| ) |
|
|
inlinevirtual |
◆ finalize()
This method should be called at the end of the simulation.
Reimplemented from alsfvm::io::Writer.
◆ write()
write writes the data to disk
- Parameters
-
conservedVariables | the conservedVariables to write |
grid | the grid that is used (describes the whole domain) |
timestepInformation | |
Implements alsfvm::io::Writer.
The documentation for this class was generated from the following files: