Class SimpleOutput

Inheritance Relationships

Base Type

Class Documentation

class SimpleOutput : public Nextsim::IDiagnosticOutput

Public Functions

SimpleOutput() = default
inline virtual void setFilenamePrefix(const std::string &filePrefix) override

Sets the output file name.

Parameters:

fileName – The file name to be set.

virtual void outputState(const ModelState &state) override

Outputs the passed ModelState.

Parameters:

state – The model state to be written out.

inline virtual std::string getName() const override

Returns the name of the component.