Re: [deal.II] Iterate over active descendants

2024-05-28 Thread Felipe Ponce
Thank you for looking at the code, I thought that the filter would do something magic (I was naive), but of course it cannot defied logical rules. I ended up refactoring most of the code, looping first over the active cells, and now it is going much better. On Tue, May 28, 2024, 7:13 PM Wolfgang

Re: [deal.II] Iterate over active descendants

2024-05-28 Thread Wolfgang Bangerth
On 5/27/24 00:28, Felipe Ponce wrote: Probably, the problem is not the filtered iterator, but maybe I should re-think the algorithm, to avoid a costly search for active descendants. Yes. The three methods you show in your code are doing very different things: // Method I: Iterate using

Re: [deal.II] dealii Installation

2024-05-28 Thread Timo Heister
Ubuntu 16.04 is a very outdated (and unsupported) system. What compiler version of GCC are you using? (gcc -v) -- https://www.math.clemson.edu/~heister/ On Tue, May 28, 2024, 09:07 王艺康 wrote: > Hello, everyone. > I'm having a problem installing dealii with candi.I'm installing > dealii-9.5.1 o

[deal.II] dealii Installation

2024-05-28 Thread 王艺康
Hello, everyone. I'm having a problem installing dealii with candi.I'm installing dealii-9.5.1 on Ubuntu 16.0.4 via candi, only then all the dependencies I need can be downloaded and installed correctly but I get an error when installing dealii. /home/hj/dealii-candi/home/hj/wyk/candi/deal.II