FileOutput

class FileOutput : public godzilla::Output

Base class for file output.

Subclassed by godzilla::CSVOutput, godzilla::ExodusIIOutput, godzilla::MeshPartitioningOutput, godzilla::TecplotOutput, godzilla::VTKOutput

Public Functions

virtual void create() override

Called to construct the object.

std::string get_file_name() const

Get the file name with the output file produced by this outputter.

Returns:

The file name with the output

void set_file_base(const std::string &file_base)

Set file base.

Parameters:

file_base – File base to set

void set_sequence_file_base(unsigned int stepi)

Set the file base for a sequence of outputs.

Parameters:

stepi – Step number

virtual std::string get_file_ext() const = 0

Get file extension.

Returns:

File extension