From a26a241b696da612f7fb36eb7e883424782936ce Mon Sep 17 00:00:00 2001 From: James E McClure Date: Wed, 4 Feb 2015 13:01:10 -0500 Subject: [PATCH] slight implementation change to make pgi compilers on titna happy --- common/TwoPhase.h | 3 ++- tests/lbpm_color_simulator.cpp | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common/TwoPhase.h b/common/TwoPhase.h index f7cc9426..62a97223 100644 --- a/common/TwoPhase.h +++ b/common/TwoPhase.h @@ -8,7 +8,6 @@ class TwoPhase{ //........................................................................... int n_nw_pts,n_ns_pts,n_ws_pts,n_nws_pts,n_local_sol_pts,n_local_nws_pts; int n_nw_tris,n_ns_tris,n_ws_tris,n_nws_seg,n_local_sol_tris; - int cube[8][3] = {{0,0,0},{1,0,0},{0,1,0},{1,1,0},{0,0,1},{1,0,1},{0,1,1},{1,1,1}}; //........................................................................... int nc; int kstart,kfinish; @@ -345,6 +344,8 @@ void TwoPhase::UpdateMeshValues(){ void TwoPhase::ComputeLocal(){ int i,j,k,n; double delphi; + int cube[8][3] = {{0,0,0},{1,0,0},{0,1,0},{1,1,0},{0,0,1},{1,0,1},{0,1,1},{1,1,1}}; + for (int c=0;c