Re: [deal.II] Re: Tips on writing "versatile" assembly function

2023-06-11 Thread blais...@gmail.com
Dear Corbin, I mostly used callgrind to identify bottlenecks. Currently, our matrix assembly and RHS assembly codes use virtualization at the cell level. I think this is a very adequate equilibrium. We keep all the flexibility, but we have not seen a drop in performance. We use the WorkStream pa

Re: [deal.II] Questions about cook_membrane.cc

2023-06-11 Thread Wolfgang Bangerth
On 6/11/23 05:00, Lance Zhang wrote: If I want to describe a deformation when the rectangular cuboid object receives a force F , how could I control the mesh moving during the force deformation ? Should I use cell or node in the surface of rectangular cuboid to represent the displacement?I s

Re: [deal.II] Re: Tips on writing "versatile" assembly function

2023-06-11 Thread Corbin Foucart
Hello everyone, I"m encountering a similar question for large 3D incompressible fluid solver with many assembly options (which I implement via inheritance). I'd like to investigate how much class/templated inheritance plays a role in performance---Bruno, how do you go about profiling something

Re: [deal.II] Questions about cook_membrane.cc

2023-06-11 Thread Lance Zhang
Hello Daniel, thanks for your message. With the link I have created rectangular cuboid and using subdivided_hyper_rectangle() I got points rectangular cuboid in as well. But I still have one question. If I want to describe a deformation when the rectangular cuboid object receives a force F