releasedExamples/MultiDimPhase/advectSrc/OldPatchGodunov.cpp
// Set the parameters for slope computation
Set the parameters for slope computation
Set the parameters for slope computation
void OldPatchGodunov::setSlopeParameters(bool a_fourthOrderSlopes,
                                         bool a_flattening,
                                         bool a_limitSlopes)
{
  CH_assert(a_fourthOrderSlopes || !a_flattening);
  m_useFourthOrderSlopes = a_fourthOrderSlopes;
  m_useFlattening = a_flattening;
  m_limitSlopes = a_limitSlopes;
  m_isSlopeSet = true;
}
void OldPatchGodunov :: setSlopeParameters ( bool a_fourthOrderSlopes , bool a_flattening , bool a_limitSlopes ) { CH_assert ( a_fourthOrderSlopes || ! a_flattening ) ; m_useFourthOrderSlopes = a_fourthOrderSlopes ; m_useFlattening = a_flattening ; m_limitSlopes = a_limitSlopes ; m_isSlopeSet = true ; }
Set the parameters for slope computation
Set the parameters for slope computation
// Slope flattening is only allowed with 4th order slopes // Store the slope computation parameters