Skip to content

Commit

Permalink
+ comment print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisMitchell committed Dec 20, 2023
1 parent 8a8a277 commit a1be45a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ CudaDeviceFunction void calcWallPhaseIter(){
real_t myA, myPhase;
myPhase = PhaseF_dyn(nw_x, nw_y);
if (isnan(myPhase)) {
printf("EDGE CASE: Solid normal pointing into solid node at (%.1f %.1f)\n", X, Y);
//printf("EDGE CASE: Solid normal pointing into solid node at (%.1f %.1f)\n", X, Y);
PhaseF=0.0;
return;
}
Expand All @@ -554,7 +554,6 @@ CudaDeviceFunction void calcWallPhaseIter(){
PhaseF = (myA - sqrt( myA*myA - 4.0 * (myA-1.0)*myPhase))/(myA-1.0) - myPhase;
}
}
if (isnan(PhaseF)) printf("NaN at (%.1f %.1f)\n", X, Y);
}

#ifdef OPTIONS_CM
Expand Down

0 comments on commit a1be45a

Please sign in to comment.