[deal.II] Re: Deprecated function PETScWrappers::VectorBase::ratio()

2018-05-14 Thread Feimi Yu
Hi Bruno, Thanks for the reply! I got the idea. I will try to write my own loop to realize this function. Thanks! Feimi On Monday, May 14, 2018 at 8:47:34 AM UTC-4, Bruno Turcksin wrote: > > Feimi, > > There is no substitute for this function. The reason it was deprecated is > because we are

[deal.II] Re: Deprecated function PETScWrappers::VectorBase::ratio()

2018-05-14 Thread Bruno Turcksin
Feimi, There is no substitute for this function. The reason it was deprecated is because we are trying to get a unified minimal interface for all our vector classes. The idea is to make it easy to switch between different vector classes. In the process, we have deprecated functions that were