[ET Trac] [Einstein Toolkit] #1020: Reduce WeylScal4 code size

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Aug 17 11:54:56 CDT 2012


#1020: Reduce WeylScal4 code size
------------------------------------+---------------------------------------
  Reporter:  eschnett               |       Owner:        
      Type:  enhancement            |      Status:  review
  Priority:  major                  |   Milestone:        
 Component:  EinsteinToolkit thorn  |     Version:        
Resolution:                         |    Keywords:        
------------------------------------+---------------------------------------

Comment (by eschnett):

 I checked: CSE is not efficient enough in reducing the code size in the
 same way. For example, the code size of psis_calc_Nth decreases from 74 kB
 to 66 kB with the optimisations above.

 One example to look at is gamma111 in the Kranc-generated sources. CSE
 does not manage to pull out the equivalent of a Christoffel symbol with
 all lowercase indices (the gammal in my changes). I don't know why --
 maybe the pattern that needs to be recognized is too complex, or maybe
 gammal has symmetries that I declared explicitly but which CSE does not
 find automatically.

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


More information about the Trac mailing list