[deal.II] Mechanisms for deleting cells/edges/vertices in some region

2022-09-26 Thread Lucas Myers
Hi folks, I'm trying to construct a rectangular grid with features at arbitrary locations. The most straightforward way of doing this that I can think of is to generate a rectangular hypercube, delete the cells/edges/vertices around feature locations, and then attach other triangulations (e.g.

Re: [deal.II] Error in complex GMRES

2022-09-26 Thread Wolfgang Bangerth
On 9/26/22 09:22, 'yy.wayne' via deal.II User Group wrote: I'm trying to apply a Krylov solver for complex-valued problem. Basiclly I have modified step-16 into a complex-valued problem (do not seperate real and imaginary parts) and solve with direct solver successfully. However it failed on

Re: [deal.II] C++ language in step16

2022-09-26 Thread 'yy.wayne' via deal.II User Group
Thank you Daniel. 在2022年9月26日星期一 UTC+8 20:42:54 写道: > cell_worker and copier are lambda functions. You can think of them as > in-place structs with a call operator (operator()) with the specified > signature. We define a new cell_worker object because the place we are > passing it into

Re: [deal.II] C++ language in step16

2022-09-26 Thread Daniel Arndt
cell_worker and copier are lambda functions. You can think of them as in-place structs with a call operator (operator()) with the specified signature. We define a new cell_worker object because the place we are passing it into expects the object to have a call operator that does what