driving script. It is here that the
toolbox will be initialized, executed and finalized. The following bolck
of code must be added to the <code class="docutils literal notranslate"><span class="pre">userchk</span></code> subroutine:</p>
<div class="code fortran highlight-default notranslate"><div class="highlight"><pre><span></span>!     start framework
      if (ISTEP.eq.0) call frame_start

!     monitor simulation
      call frame_monitor

      call trunc_main()

!     finalise framework
      if (ISTEP