fix scope in Domain inlet/outlet

This commit is contained in:
James McClure 2020-05-04 15:12:50 -04:00
parent 16e187e1dc
commit d424771849

View File

@ -390,14 +390,11 @@ void Domain::Decomp( const std::string& Filename )
}
}
}
if (RANK==0){
for (size_t idx=0; idx<ReadValues.size(); idx++){
long int label=ReadValues[idx];
long int count=LabelCount[idx];
printf("Label=%ld, Count=%ld \n",label,count);
}
}
if (USE_CHECKER) {
if (inlet_layers_x > 0){
// use checkerboard pattern
@ -516,7 +513,6 @@ void Domain::Decomp( const std::string& Filename )
}
}
}
}
else {
if (inlet_layers_z > 0){
printf("Mixed reflection pattern at z inlet for %i layers, saturated with phase label=%i \n",inlet_layers_z,inlet_layers_phase);
@ -547,6 +543,7 @@ void Domain::Decomp( const std::string& Filename )
}
}
}
}
// Get the rank info
int64_t N = (nx+2)*(ny+2)*(nz+2);