debugging color

This commit is contained in:
James E McClure
2018-01-26 15:06:39 -05:00
parent 7df39a39af
commit 02b86d2bef

View File

@@ -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<double> cDen, cfq;