If the update_potential boolean is true, then the PES of the dynamics currently being continuously updated and this is done in line 32, using the continuous update discussed in Subsection 2.4. If t is greater than or equal to the end of the current update interval (t upd ), update_potential is set false since V = V upd and the PES now is fully updated.