src/mesh/mesh.cpp
//----------------------------------------------------------------------------------------
//! \fn void Mesh::EnrollUserRefinementCondition(AMRFlagFunc_t amrflag)
//  \brief Enroll a user-defined function for checking refinement criteria
\fn void Mesh::EnrollUserRefinementCondition(AMRFlagFunc_t amrflag)
\brief Enroll a user-defined function for checking refinement criteria
\ fn void Mesh :: EnrollUserRefinementCondition ( AMRFlagFunc_t amrflag ) \ brief Enroll a user - defined function for checking refinement criteria
void Mesh::EnrollUserRefinementCondition(AMRFlagFunc_t amrflag)
{
  if(adaptive==true)
    AMRFlag_=amrflag;
  return;
}
void Mesh :: EnrollUserRefinementCondition ( AMRFlagFunc_t amrflag ) { if ( adaptive == true ) AMRFlag_ = amrflag ; return ; }
\fn void Mesh::EnrollUserRefinementCondition(AMRFlagFunc_t amrflag)
\brief Enroll a user-defined function for checking refinement criteria
\ fn void Mesh :: EnrollUserRefinementCondition ( AMRFlagFunc_t amrflag ) \ brief Enroll a user - defined function for checking refinement criteria