}
where();
- if (flags & GMX_FORCE_NONBONDED)
+ /* We only do non-bonded calculation with group scheme here, the verlet
+ * calls are done from do_force_cutsVERLET(). */
+ if (fr->cutoff_scheme == ecutsGROUP && (flags & GMX_FORCE_NONBONDED))
{
donb_flags = 0;
/* Add short-range interactions */
/* MRS: Eventually, many need to include free energy contribution here! */
if (ir->implicit_solvent)
{
+ wallcycle_sub_start(wcycle, ewcsBONDED);
calc_gb_forces(cr,md,born,top,atype,x,f,fr,idef,
ir->gb_algorithm,ir->sa_algorithm,nrnb,bBornRadii,&pbc,graph,enerd);
wallcycle_sub_stop(wcycle, ewcsBONDED);
}
/* Compute the bonded and non-bonded energies and optionally forces */
- /* if we use the GPU turn off the nonbonded */
do_force_lowlevel(fplog,step,fr,inputrec,&(top->idef),
cr,nrnb,wcycle,mdatoms,&(inputrec->opts),
x,hist,f, bSepLRF ? fr->f_twin : f,enerd,fcd,mtop,top,fr->born,
&(top->atomtypes),bBornRadii,box,
inputrec->fepvals,lambda,graph,&(top->excls),fr->mu_tot,
- ((nb_kernel_type == nbk8x8x8_CUDA || nb_kernel_type == nbk8x8x8_PlainC)
- ? flags&~GMX_FORCE_NONBONDED : flags),
- &cycles_pme);
+ flags, &cycles_pme);
if(bSepLRF)
{