[ET Trac] [Einstein Toolkit] #1118: Incorrect header info for 2d CarpetIOASCII when "compact_format=yes"

Einstein Toolkit trac-noreply at einsteintoolkit.org
Sat Oct 20 16:01:16 CDT 2012


#1118: Incorrect header info for 2d CarpetIOASCII when "compact_format=yes"
-----------------------------------------+----------------------------------
  Reporter:  reisswig@…                  |       Owner:  eschnett
      Type:  defect                      |      Status:  review  
  Priority:  minor                       |   Milestone:          
 Component:  Carpet                      |     Version:          
Resolution:                              |    Keywords:          
-----------------------------------------+----------------------------------

Comment (by rhaas):

 I always liked simpler logic. In particular in IOASCII.cc where the nested
 if statements are becoming a nuisance.
 I ended up removing the "else" clasue after the if in line 1377 (ie. the
 on Erik modified). Otherwise the code finds (for compact_format=yes but
 grouptype == CCTK_ARRAY) that it will enter the else clause and output
 coordinates after all.
 I also attach the (modifed InterpToArray) test file that I had used for
 the tests.

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


More information about the Trac mailing list