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(ExecuteOnFlags flags)

Set execute mask.

Parameters:

mask – Bit flags for execution

ExecuteOnFlags get_exec_mask() const

Get execution mask.

Returns:

execution mask

ExecuteOnFlags execute_on() const

Get execution mask.

Returns:

execution mask

virtual bool should_output(ExecuteOn flags)

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.