208 | | To clear the cell at {{{(i,j,k)}}}, simply set {{{Info%ErrorFlags(i,j,k)}}} to 0. An error flag of 0 means that the cell does not ''need'' to be refined (although it might happen anyway). To mark a cell for refinement, set {{{Info%ErrorFlags(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. |
| 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. |