Skip to content

Commit

Permalink
fix unused version
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed May 4, 2024
1 parent 14a3403 commit d227554
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions source/eos_demo/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@ int main(int argc, char* argv[])

// get the index bounds and dx.

Box domain = pf.probDomain(fine_level);
int coord = pf.coordSys();

auto dx = pf.cellSize(fine_level);

auto problo = pf.probLo();
auto probhi = pf.probHi();


// find variable indices -- we want density, temperature, and species.
Expand Down Expand Up @@ -106,11 +100,6 @@ int main(int argc, char* argv[])

// compute the coordinate of the current zone

Array<Real,AMREX_SPACEDIM> p
= {AMREX_D_DECL(problo[0]+static_cast<Real>(i+0.5)*dx_level[0],
problo[1]+static_cast<Real>(j+0.5)*dx_level[1],
problo[2]+static_cast<Real>(k+0.5)*dx_level[2])};

eos_t eos_state;

eos_state.rho = fab(i,j,k,dens_comp);
Expand Down Expand Up @@ -147,11 +136,6 @@ int main(int argc, char* argv[])
for (int j = lo.y; j <= hi.y; ++j) {
for (int i = lo.x; i <= hi.x; ++i) {

Array<Real,AMREX_SPACEDIM> p
= {AMREX_D_DECL(problo[0]+static_cast<Real>(i+0.5)*dx_level[0],
problo[1]+static_cast<Real>(j+0.5)*dx_level[1],
problo[2]+static_cast<Real>(k+0.5)*dx_level[2])};

eos_t eos_state;

eos_state.rho = fab(i,j,k,dens_comp);
Expand Down

0 comments on commit d227554

Please sign in to comment.