lib/src/AMRTimeDependent/AdvectPhysics.cpp
/****/
// Compute the primitive variables from the conserved variables
Compute the primitive variables from the conserved variables
Compute the primitive variables from the conserved variables
void
AdvectPhysics::
consToPrim(FArrayBox&       a_W,
           const FArrayBox& a_U,
           const Box&       a_box)
{
  CH_assert(isDefined());
  CH_assert(a_U.box().contains(a_box));
  CH_assert(a_W.box().contains(a_box));
  a_W.copy(a_U, a_box);
}
void AdvectPhysics :: consToPrim ( FArrayBox & a_W , const FArrayBox & a_U , const Box & a_box ) { CH_assert ( isDefined ( ) ) ; CH_assert ( a_U . box ( ) . contains ( a_box ) ) ; CH_assert ( a_W . box ( ) . contains ( a_box ) ) ; a_W . copy ( a_U , a_box ) ; }
Compute the primitive variables from the conserved variables
Compute the primitive variables from the conserved variables
// since the primitive and conserved variables are the same in // this set of equations, even I can do this one...