Output

class Output : public godzilla::Object, public godzilla::PrintInterface

Base class for doing output.

Subclassed by godzilla::FileOutput

Public Functions

virtual void create() override

Called to construct the object.

void set_exec_mask(ExecuteOn mask)

Set execute mask.

Parameters:

mask – Bit mask for execution

ExecuteOn get_exec_mask() const

Get execution mask.

Returns:

execution mask

virtual bool should_output(ExecuteOnFlag mask)

Should output happen at a specified occasion.

Parameters:

mask – Bit mask specifying the occasion, see ON_XYZ below

Returns:

true if output should happen, otherwise false

virtual void output_step() = 0

Output a step of a simulation.