Skip to content

Commit

Permalink
Few formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gkogekar authored and speth committed Jun 22, 2023
1 parent 0b3a0f6 commit 1f56865
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/cantera/oneD/StFlow.h
Expand Up @@ -329,7 +329,7 @@ class StFlow : public Domain1D
m_rho[j] = m_thermo->density();
m_wtm[j] = m_thermo->meanMolecularWeight();
m_cp[j] = m_thermo->cp_mass();
m_thermo->getPartialMolarEnthalpies(&m_hk(0,j));
m_thermo->getPartialMolarEnthalpies(&m_hk(0, j));
}
}

Expand Down
7 changes: 4 additions & 3 deletions src/oneD/StFlow.cpp
Expand Up @@ -54,8 +54,8 @@ StFlow::StFlow(ThermoPhase* ph, size_t nsp, size_t points) :
m_multidiff.resize(m_nsp*m_nsp*m_points);
m_flux.resize(m_nsp,m_points);
m_wdot.resize(m_nsp,m_points, 0.0);
m_hk.resize(m_nsp,m_points, 0.0);
m_dhk_dz.resize(m_nsp,m_points-1, 0.0);
m_hk.resize(m_nsp, m_points, 0.0);
m_dhk_dz.resize(m_nsp, m_points - 1, 0.0);
m_ybar.resize(m_nsp);
m_qdotRadiation.resize(m_points, 0.0);

Expand Down Expand Up @@ -198,7 +198,8 @@ void StFlow::resize(size_t ncomponents, size_t points)
}
m_flux.resize(m_nsp,m_points);
m_wdot.resize(m_nsp,m_points, 0.0);
m_hk.resize(m_nsp,m_points, 0.0);
m_hk.resize(m_nsp, m_points, 0.0);
m_dhk_dz.resize(m_nsp, m_points - 1, 0.0);
m_do_energy.resize(m_points,false);
m_qdotRadiation.resize(m_points, 0.0);
m_fixedtemp.resize(m_points);
Expand Down

0 comments on commit 1f56865

Please sign in to comment.