![]() |
(git:b77b4be)
|
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 control the md_run loop, too. More...
Functions/Subroutines | |
subroutine, public | mdctrl_callback (mdctrl, md_env, should_stop) |
This is called by md_run for each step during during its main-loop. | |
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 control the md_run loop, too.
subroutine, public mdctrl_methods::mdctrl_callback | ( | type(mdctrl_type), pointer | mdctrl, |
type(md_environment_type), pointer | md_env, | ||
logical, intent(inout) | should_stop | ||
) |
This is called by md_run for each step during during its main-loop.
mdctrl | data which is passed on to the wrapped client-routine |
md_env | contains the current state of the md_run |
should_stop | can be used to abort the md_run |
Definition at line 38 of file mdctrl_methods.F.