#include "nbnxn_cuda_data_mgmt.h"
#include "nbnxn_cuda/nbnxn_cuda.h"
-#if 0
-typedef struct gmx_timeprint {
-
-} t_gmx_timeprint;
-#endif
-
-/* Portable version of ctime_r implemented in src/gmxlib/string2.c, but we do not want it declared in public installed headers */
-char *
-gmx_ctime_r(const time_t *clock, char *buf, int n);
-
-
double
gmx_gettime()
{
fr->rc_scaling, fr->ePBC, fr->posres_com, fr->posres_comB);
if (bSepDVDL)
{
- fprintf(fplog, sepdvdlformat,
- interaction_function[F_POSRES].longname, v, dvdl);
+ gmx_print_sepdvdl(fplog, interaction_function[F_POSRES].longname, v, dvdl);
}
enerd->term[F_POSRES] += v;
/* If just the force constant changes, the FEP term is linear,
cr, t, lambda[efptRESTRAINT], x, f, vir_force, &dvdl);
if (bSepDVDL)
{
- fprintf(fplog, sepdvdlformat, "Com pull", enerd->term[F_COM_PULL], dvdl);
+ gmx_print_sepdvdl(fplog, "Com pull", enerd->term[F_COM_PULL], dvdl);
}
enerd->dvdl_lin[efptRESTRAINT] += dvdl;
}
&cycles_seppme);
if (bSepDVDL)
{
- fprintf(fplog, sepdvdlformat, "PME mesh", e, dvdl);
+ gmx_print_sepdvdl(fplog, "PME mesh", e, dvdl);
}
enerd->term[F_COUL_RECIP] += e;
enerd->dvdl_lin[efptCOUL] += dvdl;
groups, &(inputrec->opts), top, mdatoms,
cr, nrnb, lambda, dvdlambda, &enerd->grpp, bFillGrid,
bDoLongRangeNS);
- if (bSepDVDL)
- {
- fprintf(fplog, sepdvdlformat, "LR non-bonded", 0.0, dvdlambda);
- }
- enerd->dvdl_lin[efptVDW] += dvdlambda[efptVDW];
- enerd->dvdl_lin[efptCOUL] += dvdlambda[efptCOUL];
wallcycle_stop(wcycle, ewcNS);
}
if (fr->bSepDVDL && do_per_step(step, ir->nstlog))
{
- fprintf(fplog, sepdvdlformat, "Dispersion correction",
- *enercorr, dvdlambda);
+ gmx_print_sepdvdl(fplog, "Dispersion correction", *enercorr, dvdlambda);
}
if (fr->efep != efepNO)
{