#include "checkpoint.h"
#include "mtop_util.h"
#include "sighandler.h"
+#include "gmx_membed.h"
#ifdef GMX_LIB_MPI
#include <mpi.h>
t_mdatoms *mdatoms,
t_nrnb *nrnb,gmx_wallcycle_t wcycle,
gmx_edsam_t ed,t_forcerec *fr,
- int repl_ex_nst,int repl_ex_seed,
+ int repl_ex_nst,int repl_ex_seed,gmx_membed_t *membed,
real cpt_period,real max_hours,
const char *deviceOptions,
unsigned long Flags,
}
/* ####### END SET VARIABLES FOR NEXT ITERATION ###### */
+
+ if ( (membed!=NULL) && (!bLastStep) )
+ rescale_membed(step_rel,membed,state_global->x);
if (bRerunMD)
{