Skip to content

Commit

Permalink
+ fix paranoid compile for potential uninitiation
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisMitchell committed Dec 21, 2023
1 parent 72fc48c commit 1e67f65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ CudaDeviceFunction void WVelocity()
real_t rho = calcRho(PhaseF);
real_t tau = calcTau(PhaseF, rho);
real_t p = getNormalizedPressure() ; // normalized pressure
vector_t Fhydro;
vector_t Fhydro={0.0,0.0,0.0};
#ifdef OPTIONS_BGK
if (NodeType & NODE_BGK) { // Not Implemented
}
Expand Down Expand Up @@ -1211,7 +1211,7 @@ CudaDeviceFunction void NVelocity()
real_t rho = calcRho(PhaseF);
real_t tau = calcTau(PhaseF, rho);
real_t p = getNormalizedPressure() ; // normalized pressure
vector_t Fhydro;
vector_t Fhydro={0.0,0.0,0.0};
#ifdef OPTIONS_BGK
if (NodeType & NODE_BGK) { // Not Implemented
}
Expand Down Expand Up @@ -1322,7 +1322,7 @@ CudaDeviceFunction void BounceBack()
real_t rho = calcRho(PhaseF);
real_t tau = calcTau(PhaseF, rho);
real_t p = getNormalizedPressure() ; // normalized pressure
vector_t Fhydro;
vector_t Fhydro={0.0,0.0,0.0};
#ifdef OPTIONS_BGK
if (NodeType & NODE_BGK) { // Not Implemented
}
Expand Down Expand Up @@ -1371,7 +1371,7 @@ CudaDeviceFunction void BounceBack()
real_t rho = calcRho(PhaseF);
real_t tau = calcTau(PhaseF, rho);
real_t p = getNormalizedPressure() ; // normalized pressure
vector_t Fhydro;
vector_t Fhydro={0.0,0.0,0.0};
#ifdef OPTIONS_BGK
if (NodeType & NODE_BGK) { // Not Implemented
}
Expand Down

0 comments on commit 1e67f65

Please sign in to comment.