Fixed communication bug in TwoPhase::ComponentAverages

This commit is contained in:
James E McClure
2015-07-13 13:07:52 -04:00
parent 233e36644c
commit 6a7fa484f7
2 changed files with 3 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ int ComputePhaseComponent(IntArray &ComponentLabel,
int Ny = PhaseID.size(1);
int Nz = PhaseID.size(2);
//ComponentLabel.resize(Nx,Ny,Nz);
ComponentLabel.resize(Nx,Ny,Nz);
int cubes_in_blob=0;
int nrecent = 1; // number of nodes added at most recent sweep