releasedExamples/MultiDimPhase/advectSrc/OldPatchGodunov.cpp
// Increment the primitive variables with sources corresponding to the
// conserved variables - the default implementation does nothing (it is
// implemented to satisfy compilation for users without source terms).
Increment the primitive variables with sources corresponding to the
conserved variables - the default implementation does nothing (it is
implemented to satisfy compilation for users without source terms).
Increment the primitive variables with sources corresponding to the conserved variables - the default implementation does nothing ( it is implemented to satisfy compilation for users without source terms ) .
void OldPatchGodunov::incrementWithSource(FArrayBox&       a_W,
                                          const FArrayBox& a_S,
                                          const Real&      a_scale,
                                          const Box&       a_box)
{
  CH_assert(isDefined());
  CH_assert(a_W.box().contains(a_box));
  CH_assert(a_S.box().contains(a_box));
  MayDay::Error("You have provided a source term without providing an instantiation of the incrementWithSource function in your OldPatchGodunov-derived class. Please provide one");
}
void OldPatchGodunov :: incrementWithSource ( FArrayBox & a_W , const FArrayBox & a_S , const Real & a_scale , const Box & a_box ) { CH_assert ( isDefined ( ) ) ; CH_assert ( a_W . box ( ) . contains ( a_box ) ) ; CH_assert ( a_S . box ( ) . contains ( a_box ) ) ; MayDay :: Error ( " " ) ; }
Increment the primitive variables with sources corresponding to the
conserved variables - the default implementation does nothing (it is
implemented to satisfy compilation for users without source terms).
Increment the primitive variables with sources corresponding to the conserved variables - the default implementation does nothing ( it is implemented to satisfy compilation for users without source terms ) .