Skip to content

Commit

Permalink
rename for easier comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
drangara committed Sep 20, 2023
1 parent 4c2ef35 commit 37ad4b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/utilities/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,22 +409,22 @@ void incflo::WritePlotFile()
for (int lev = 0; lev <= finest_level; ++lev) {
MultiFab::Copy(mf[lev], m_leveldata[lev]->velocity, 0, icomp, 1, 0);
}
pltscaVarsName.push_back("velx");
pltscaVarsName.push_back("u_g");
++icomp;
}
if (m_plt_vely) {
for (int lev = 0; lev <= finest_level; ++lev) {
MultiFab::Copy(mf[lev], m_leveldata[lev]->velocity, 1, icomp, 1, 0);
}
pltscaVarsName.push_back("vely");
pltscaVarsName.push_back("v_g");
++icomp;
}
#if (AMREX_SPACEDIM == 3)
if (m_plt_velz) {
for (int lev = 0; lev <= finest_level; ++lev) {
MultiFab::Copy(mf[lev], m_leveldata[lev]->velocity, 2, icomp, 1, 0);
}
pltscaVarsName.push_back("velz");
pltscaVarsName.push_back("w_g");
++icomp;
}
#endif
Expand Down Expand Up @@ -454,7 +454,7 @@ void incflo::WritePlotFile()
if (m_plt_rho) {
for (int lev = 0; lev <= finest_level; ++lev)
MultiFab::Copy(mf[lev], m_leveldata[lev]->density, 0, icomp, 1, 0);
pltscaVarsName.push_back("density");
pltscaVarsName.push_back("ro_g");
++icomp;
}
if (m_plt_tracer) {
Expand Down Expand Up @@ -619,7 +619,7 @@ void incflo::WritePlotFile()
for (int lev = 0; lev <= finest_level; ++lev) {
MultiFab::Copy(mf[lev], EBFactory(lev).getVolFrac(), 0, icomp, 1, 0);
}
pltscaVarsName.push_back("vfrac");
pltscaVarsName.push_back("volfrac");
++icomp;
}
#endif
Expand Down

0 comments on commit 37ad4b8

Please sign in to comment.