From 2f857c6eda6fc1863896d549c4638e817d120bb6 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 13 Dec 2017 15:12:14 -0500 Subject: [PATCH] correct fix neigh/history/omp to properly support -DLAMMPS_BIGBIG compilation --- src/USER-OMP/fix_neigh_history_omp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/USER-OMP/fix_neigh_history_omp.cpp b/src/USER-OMP/fix_neigh_history_omp.cpp index 1b212732de..21aed6c7c0 100644 --- a/src/USER-OMP/fix_neigh_history_omp.cpp +++ b/src/USER-OMP/fix_neigh_history_omp.cpp @@ -98,7 +98,7 @@ void FixNeighHistoryOMP::pre_exchange_onesided() // nlocal can be larger if other fixes added atoms at this pre_exchange() // clear per-thread paged data structures - + MyPage &ipg = ipage_atom[tid]; MyPage &dpg = dpage_atom[tid]; ipg.reset(); @@ -540,8 +540,8 @@ void FixNeighHistoryOMP::post_neighbor() int *allflags; double *allvalues; - MyPage &ipg = ipage_atom[tid]; - MyPage &dpg = dpage_atom[tid]; + MyPage &ipg = ipage_neigh[tid]; + MyPage &dpg = dpage_neigh[tid]; ipg.reset(); dpg.reset();