On 1/24/20 11:52 AM, Jonathan Russ wrote:
> 
> Since you asked I decided to time each thing individually that I 
> commented out to make sure I knew which function call was taking so 
> long. It turns out that I was incorrect before when I said that 
> extract_constant_modes was slow. I was initializing the preconditioner 
> immediately afterward for some reason with a zero matrix. This 
> initialization was the reason for additional time. I apologize for the 
> misleading title of the topic now and will be more careful next time.

:-) You just supported the general rule that even good programmers can't 
tell where their bottlenecks are without actually putting timers into 
their codes ;-)

Best
  WB

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/8def7187-ab9e-a3e5-d389-22cd2c30a4d9%40colostate.edu.

Reply via email to