From ec35cc7a3246a688ff3f114e00bd1989c4298aa8 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Sat, 8 Jul 2017 12:53:08 -0400 Subject: [PATCH] Updating type in common/TwoPhase.h lbpm_morphdrain_pp and lbpm_morphopen_pp --- common/TwoPhase.h | 2 +- tests/lbpm_morphdrain_pp.cpp | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/common/TwoPhase.h b/common/TwoPhase.h index 3b2e373f..62e4f623 100644 --- a/common/TwoPhase.h +++ b/common/TwoPhase.h @@ -117,7 +117,7 @@ public: DoubleArray Gws_global; //........................................................................... //........................................................................... - int Nx,Ny,Nz; + uint64 Nx,Ny,Nz; IntArray PhaseID; // Phase ID array (solid=0, non-wetting=1, wetting=2) BlobIDArray Label_WP; // Wetting phase label BlobIDArray Label_NWP; // Non-wetting phase label index (0:nblobs-1) diff --git a/tests/lbpm_morphdrain_pp.cpp b/tests/lbpm_morphdrain_pp.cpp index d5bf96c0..4b1bb476 100644 --- a/tests/lbpm_morphdrain_pp.cpp +++ b/tests/lbpm_morphdrain_pp.cpp @@ -234,8 +234,8 @@ int main(int argc, char **argv) int Nz = nz; int GlobalNumber = 1; - int count,countGlobal,totalGlobal; - count = 0; + double count,countGlobal,totalGlobal; + count = 0.f; for (int k=1; k