AMDiS  0.1
The Adaptive Multi-Dimensional Simulation Toolbox
BackupWriter< SystemVector > Class Template Reference

Inherits FileWriterBase.

Public Member Functions

 BackupWriter (std::string const &name, std::shared_ptr< SystemVector > systemVector)
void write (AdaptInfo &adaptInfo, bool force) override
 Implements FileWriterBase::write.
- Public Member Functions inherited from FileWriterBase
 FileWriterBase (std::string const &base)
 Constructor. Reads common parameters.
bool doWrite (AdaptInfo &adaptInfo) const
 Return whether to write the current timestep or not.
std::string const & filename () const
std::string const & dir () const
std::string const & name () const
- Public Member Functions inherited from FileWriterInterface
virtual ~FileWriterInterface ()=default
 Virtual destructor.

Additional Inherited Members

- Protected Attributes inherited from FileWriterBase
std::string filename_ = "solution"
 Base part of output filename.
std::string dir_ = "."
 Output directory.
std::string name_ = "solution"
 Name of the data.
int tsModulo_ = 0
 Write every i'th timestep.
double timeModulo_ = 0.0
 Write after every time interval.

The documentation for this class was generated from the following file: