Professor Bangerth -

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.

Thanks,
Jonathan

On Friday, January 24, 2020 at 1:40:35 PM UTC-5, Wolfgang Bangerth wrote:
>
> On 1/24/20 11:37 AM, Jonathan Russ wrote: 
> > 
> > Thank you for your reply, however, I just seemed to have solved my 
> > problem. I had a block system with one vector valued field and one 
> > scalar valued field. When I extract the constant modes for the vector 
> > valued field it is very fast (using the vector component mask). However, 
> > the same operation for the scalar valued field does not perform quickly. 
> > I see that simply omitting this step for the scalar valued field has 
> > almost no effect on the solution of the scalar valued problem. Therefore 
> > I no longer have any issue :) 
>
> Good to know. That said, it might still be interesting to have a 
> testcase that shows the slow behavior! 
>
> Best 
>   W. 
>
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/b6c85500-a918-4960-a337-1387fcfbff37%40googlegroups.com.

Reply via email to