Relying on the time labeled components for averaging

This commit is contained in:
James E McClure 2015-08-18 21:43:17 -04:00
parent dcc49452a3
commit c48eb94690

View File

@ -573,9 +573,9 @@ void TwoPhase::AssignComponentLabels(){
//NumberComponents_WP = ComputeGlobalPhaseComponent(Dm.Nx-2,Dm.Ny-2,Dm.Nz-2,Dm.rank_info,PhaseID,LabelWP,Label_WP);
// treat all wetting phase is connected
NumberComponents_WP=1;
for (k=0; k<Nz; k++){
for (j=0; j<Ny; j++){
for (i=0; i<Nx; i++){
for (int k=0; k<Nz; k++){
for (int j=0; j<Ny; j++){
for (int i=0; i<Nx; i++){
Label_WP(i,j,k) = 0;
}
}