Changes between Version 30 and Version 31 of ModulesOnAstroBear


Ignore:
Timestamp:
09/16/11 10:23:23 (13 years ago)
Author:
ehansen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ModulesOnAstroBear

    v30 v31  
    200200
    201201{{{
    202 Info%ErrFlags(1 - rmbc : mX(1) + rmbc, &
     202Info%ErrFlag(1 - rmbc : mX(1) + rmbc, &
    203203                1 - rmbc : mX(2) + rmbc, &
    204204                1 - rmbc : mX(2) + rmbc, &
     
    206206}}}
    207207
    208 To clear the cell at {{{(i,j,k)}}}, simply set {{{Info%ErrFlags(i,j,k)}}} to 0.  An error flag of 0 means that the cell does not ''need'' to be refined.  This is in general, not a good idea since a previous routine might have already flagged that cell for refinement with good reason.  To mark a cell for refinement, set {{{Info%ErrFlags(i,j,k)}}} to 1.  The best place to do this is in the {{{ProblemSetErrFlags()}}} routine; most conventional physical criteria for refinement are already handled by AstroBEAR itself.
     208To clear the cell at {{{(i,j,k)}}}, simply set {{{Info%ErrFlag(i,j,k)}}} to 0.  An error flag of 0 means that the cell does not ''need'' to be refined.  This is in general, not a good idea since a previous routine might have already flagged that cell for refinement with good reason.  To mark a cell for refinement, set {{{Info%ErrFlag(i,j,k)}}} to 1.  The best place to do this is in the {{{ProblemSetErrFlag()}}} routine; most conventional physical criteria for refinement are already handled by AstroBEAR itself.
    209209
    210210See [wiki:ControllingRefinement#ProblemSetErrFlag ProblemSetErrFlag] for more details and an example of how to use this subroutine.