Re: [deal.II] Extract constant modes slow

2020-01-24 Thread Wolfgang Bangerth
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

Re: [deal.II] Extract constant modes slow

2020-01-24 Thread Jonathan Russ
Professor Bangerth - 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).

Re: [deal.II] Extract constant modes slow

2020-01-24 Thread Wolfgang Bangerth
On 1/23/20 5:00 PM, Jonathan Russ wrote: > > I noticed that the Trilinos ML preconditioner accessed through the > TrilinosWrappers benefits heavily from supplying the constant modes or > the null-space of the laplace operator. Using the extract_constant_modes > functionality I notice that this

[deal.II] Extract constant modes slow

2020-01-23 Thread Jonathan Russ
Hello - I noticed that the Trilinos ML preconditioner accessed through the TrilinosWrappers benefits heavily from supplying the constant modes or the null-space of the laplace operator. Using the extract_constant_modes functionality I notice that this can take quite a bit of time for a vector