[ET Trac] [Einstein Toolkit] #966: Carpet always calls POSTREGRID on the finest level

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Jun 26 10:54:37 CDT 2012


#966: Carpet always calls POSTREGRID on the finest level
--------------------------+-------------------------------------------------
  Reporter:  rhaas        |       Owner:  eschnett
      Type:  enhancement  |      Status:  new     
  Priority:  minor        |   Milestone:          
 Component:  Carpet       |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------

Comment (by rhaas):

 I see. That certainly makes sense (in particular taking the view of
 prolongation as a projection into account). In that case, should one
 change lines 311 in Evolve.cc from
 {{{
           // Do not omit the global mode call when the finest level
           // does not change:
           // if (did_recompose or (did_remove_level and rl == reflevels -
 1)) {
           if (did_recompose or
               ((did_remove_level or did_any_recompose) and
                rl == reflevels - 1))
 }}}
 to
 {{{
           // Carpet assumes that a regridding operation always changes
 "level N
           // and all finer levels" so we should call POSTREGRID on all
 finer levels
           if (did_any_recompose)
 }}}
 ?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/966#comment:3>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list