Enable TPI with the Verlet cut-off scheme
[alexxy/gromacs.git] / src / gromacs / nbnxm / pairsearch.cpp
index 021f6cb25a4f1044df4167de6198b058a0ddc267..2d425de5efa14fee9bf60fefeccb2cf6c703a9f9 100644 (file)
@@ -109,13 +109,14 @@ PairsearchWork::~PairsearchWork()
 }
 
 PairSearch::PairSearch(const int                 ePBC,
+                       const bool                doTestParticleInsertion,
                        const ivec               *numDDCells,
                        const gmx_domdec_zones_t *ddZones,
                        const PairlistType        pairlistType,
                        const bool                haveFep,
                        const int                 maxNumThreads,
                        gmx::PinningPolicy        pinningPolicy) :
-    gridSet_(ePBC, numDDCells, ddZones, pairlistType, haveFep, maxNumThreads, pinningPolicy),
+    gridSet_(ePBC, doTestParticleInsertion, numDDCells, ddZones, pairlistType, haveFep, maxNumThreads, pinningPolicy),
     work_(maxNumThreads)
 {
     cycleCounting_.recordCycles_ = (getenv("GMX_NBNXN_CYCLE") != nullptr);