[ET Trac] [Einstein Toolkit] #2035: NaNChecker should not use integer division

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Apr 26 21:39:59 CDT 2017


#2035: NaNChecker should not use integer division
-------------------------+--------------------------------------------------
 Reporter:  eschnett     |       Owner:                     
     Type:  enhancement  |      Status:  new                
 Priority:  minor        |   Milestone:                     
Component:  Other        |     Version:  development version
 Keywords:               |  
-------------------------+--------------------------------------------------
 I profiled the NaNChecker, and it seems as if it spent two thirds of its
 time performing integer division. I assume that these are the integer
 divisions where the code re-calculates the {{{(i,j,k)}}} triple from a
 linear index. This part of the code could easily be rewritten.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/2035>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list