From 02b86d2bef9c3c63e1c5e157bbdfb92319dbd31d Mon Sep 17 00:00:00 2001 From: James E McClure Date: Fri, 26 Jan 2018 15:06:39 -0500 Subject: [PATCH] debugging color --- tests/lbpm_color_simulator.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/lbpm_color_simulator.h b/tests/lbpm_color_simulator.h index d4e9dc4d..698c9769 100644 --- a/tests/lbpm_color_simulator.h +++ b/tests/lbpm_color_simulator.h @@ -312,10 +312,10 @@ void run_analysis( int timestep, int restart_interval, PROFILE_STOP("Copy-Wait",1); PROFILE_START("Copy-State",1); memcpy(Averages.Phase.data(),phase->data(),N*sizeof(double)); - ScaLBL_Comm.RegularLayout(Map,Pressure,Averages.Press->data()); - ScaLBL_Comm.RegularLayout(Map,&Velocity[0],Averages.Vel_x->data()); - ScaLBL_Comm.RegularLayout(Map,&Velocity[Np],Averages.Vel_y->data()); - ScaLBL_Comm.RegularLayout(Map,&Velocity[2*Np],Averages.Vel_z->data()); + ScaLBL_Comm.RegularLayout(Map,Pressure,Averages->Press.data()); + ScaLBL_Comm.RegularLayout(Map,&Velocity[0],Averages->Vel_x.data()); + ScaLBL_Comm.RegularLayout(Map,&Velocity[Np],Averages->Vel_y.data()); + ScaLBL_Comm.RegularLayout(Map,&Velocity[2*Np],Averages->Vel_z.data()); PROFILE_STOP("Copy-State",1); } std::shared_ptr cDen, cfq;