This commit is contained in:
James E McClure
2019-08-21 21:33:10 -04:00
parent d4f8312de1
commit 2e5b5ed98c

View File

@@ -952,6 +952,7 @@ double ScaLBL_ColorModel::ImageInit(std::string Filename){
ScaLBL_PhaseField_Init(dvcMap, Phi, Den, Aq, Bq, ScaLBL_Comm->FirstInterior(), ScaLBL_Comm->LastInterior(), Np);
MPI_Barrier(comm);
ScaLBL_CopyToHost(Averages->Phi.data(),Phi,N*sizeof(double));
double saturation = Count/PoreCount;
return saturation;