Only write out the fields at the end of the simulation.