[Transport] Write data according to the output policy

* Set the default policy to end of step
parent 9e2a12c0
......@@ -63,7 +63,7 @@ adding an empty line, make text **bold** or ``monospaced``.
<parameter name="policy">
<definition> Policy to write the data. </definition>
<suggestion> all </suggestion>
<suggestion> endOfStep </suggestion>
<values> all, endOfStep, none </values>
</parameter>
......
......@@ -212,7 +212,7 @@ void TransportSimulation<Traits>::step()
time_steps++;
if (this->output_policy() == OutputPolicy::EndOfStep)
if (this->output_policy() == OutputPolicy::All)
write_data();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment