Skip to content

Commit

Permalink
Merge pull request #107 from AMReX-Combustion/fix_u_conserv_bug
Browse files Browse the repository at this point in the history
Fix bug where u is set as conservative when EB is turned on
  • Loading branch information
ldowen authored Jul 13, 2022
2 parents ff785f1 + d65dd22 commit 364ae4a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/PeleLMSetup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,7 @@ void PeleLM::variablesSetup() {

// Velocity - follow incflo
for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
#ifdef AMREX_USE_EB
m_AdvTypeState[VELX+idim] = 1; // Conservative
#else
m_AdvTypeState[VELX+idim] = 0; // NonConservative
#endif
m_DiffTypeState[VELX+idim] = 1; // Diffusive
}

Expand Down

0 comments on commit 364ae4a

Please sign in to comment.