SPH
Public Member Functions | List of all members
SodOutput Class Reference
Inheritance diagram for SodOutput:
IOutput Polymorphic

Public Member Functions

 SodOutput (const std::string &name)
 
virtual Expected< Pathdump (const Storage &storage, const Statistics &stats) override
 Saves data from particle storage into the file. More...
 
- Public Member Functions inherited from IOutput
 IOutput (const OutputFile &fileMask)
 Constructs output given the file name of the output. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Additional Inherited Members

- Protected Attributes inherited from IOutput
OutputFile paths
 

Detailed Description

Definition at line 44 of file Sod.cpp.

Constructor & Destructor Documentation

◆ SodOutput()

SodOutput::SodOutput ( const std::string &  name)
inline

Definition at line 50 of file Sod.cpp.

Member Function Documentation

◆ dump()

virtual Expected<Path> SodOutput::dump ( const Storage storage,
const Statistics stats 
)
inlineoverridevirtual

Saves data from particle storage into the file.

Returns the filename of the dump, generated from file mask given in constructor, or an error message in case writing the output file failed.

Implements IOutput.

Definition at line 58 of file Sod.cpp.


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