releasedExamples/MultiDimPhase/advectSrc/OldPatchGodunov.cpp
// Define this object and the boundary condition object
Define this object and the boundary condition object
Define this object and the boundary condition object
void OldPatchGodunov::define(const ProblemDomain& a_domain,
                             const Real&    a_dx)
{
  CH_assert(m_isBCSet);
  m_domain = a_domain;
  m_dx = a_dx;
  m_bc->define(m_domain,m_dx);
  m_isDefined = true;
}
void OldPatchGodunov :: define ( const ProblemDomain & a_domain , const Real & a_dx ) { CH_assert ( m_isBCSet ) ; m_domain = a_domain ; m_dx = a_dx ; m_bc -> define ( m_domain , m_dx ) ; m_isDefined = true ; }
Define this object and the boundary condition object
Define this object and the boundary condition object
// Store the domain and grid spacing // Set the domain and grid spacing in the boundary condition object