releasedExamples/AMRGodunov/srcPolytropic/PolytropicPhysics.cpp
/// Interval within the flux variables corresponding to vector flux
Interval within the flux variables corresponding to vector flux
Interval within the flux variables corresponding to vector flux
Interval PolytropicPhysics::vectorFluxInterval()
{
  CH_assert(isDefined());
#if CH_SPACEDIM==1
  Interval retval(UMOMX,UMOMX);
#elif CH_SPACEDIM==2
  Interval retval(UMOMX,UMOMY);
#elif CH_SPACEDIM==3
  Interval retval(UMOMX,UMOMZ);
#else
  Interval retval(URHO+1, UENG-1);
#endif
  return retval;
}
Interval PolytropicPhysics :: vectorFluxInterval ( ) { CH_assert ( isDefined ( ) ) ; #if CH_SPACEDIM == 1 Interval retval ( UMOMX , UMOMX ) ; #elif CH_SPACEDIM == 2 Interval retval ( UMOMX , UMOMY ) ; #elif CH_SPACEDIM == 3 Interval retval ( UMOMX , UMOMZ ) ; #else Interval retval ( URHO + 1 , UENG - 1 ) ; #endif return retval ; }
Interval within the flux variables corresponding to vector flux
Interval within the flux variables corresponding to vector flux
// bogus_spacedim();