[ET Trac] [Einstein Toolkit] #1445: add tags to disallow splitting in directions

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Sep 27 21:21:35 CDT 2013


#1445: add tags to disallow splitting in directions
--------------------------+-------------------------------------------------
  Reporter:  rhaas        |       Owner:  eschnett           
      Type:  enhancement  |      Status:  closed             
  Priority:  minor        |   Milestone:                     
 Component:  Carpet       |     Version:  development version
Resolution:  fixed        |    Keywords:                     
--------------------------+-------------------------------------------------

Comment (by rhaas):

 Hmpf. There was a bug left of course. Just such that for the choice of
 parameters in my original application it was producing the correct result.
 Fixed and added a test case to CarpetTest. Turns out that
 {{{
 for(int i = 0 ; i < nvals . ++i) {
   no_split_dims[i] = true;
 }
 }}}
 is identical to
 {{{
 for(int i = 0 ; i < nvals . ++i) {
   no_split_dims[no_split_directions[i]] = true;
 }
 }}}
 if {{{no_split_directions = {0,1}}}}.

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


More information about the Trac mailing list