Noticed weird behavior -- must be boundary effect for distance

This commit is contained in:
James E McClure 2015-11-14 16:03:34 -05:00
parent d883c70c83
commit 460879fdf4

View File

@ -333,6 +333,15 @@ void TwoPhase::UpdateMeshValues()
//...........................................................................
Dm.CommunicateMeshHalo(SDn_z);
//...........................................................................
Dm.CommunicateMeshHalo(SDs);
pmmc_MeshGradient(SDs,SDs_x,SDs_y,SDs_z,Nx,Ny,Nz);
//...........................................................................
Dm.CommunicateMeshHalo(SDs_x);
//...........................................................................
Dm.CommunicateMeshHalo(SDs_y);
//...........................................................................
Dm.CommunicateMeshHalo(SDs_z);
//...........................................................................
// Compute the mesh curvature of the phase indicator field
pmmc_MeshCurvature(SDn, MeanCurvature, GaussCurvature, Nx, Ny, Nz);
//...........................................................................