Documentation for module mdctrl_methods

A common interface (wrapper) for a callback into the md_run loop. Currently this is only used by the glbopt machinery, but its meant to be extended if others need to controll the md_run loop, too.

source: mdctrl_methods.F
Loading...

public Subroutines/Functions:

This is called by md_run for each step during during its main-loop.

SUBROUTINEmdctrl_callback(mdctrl, md_env, should_stop)

This is called by md_run for each step during during its main-loop.

Arguments:
POINTER
:: mdctrl data which is passed on to the wrapped client-routine
POINTER
:: md_env contains the current state of the md_run
LOGICAL,
INTENT(inout)
:: should_stop can be used to abort the md_run