Re: [deal.II] Re: Difference between MeshWorker::mesh_loop and WorkStream::run

2019-03-18 Thread 'Maxi Miller' via deal.II User Group
Similar question: How are the different loop-functions differentiated, i.e. MeshWorker::integration_loop and MeshWorker::mesh_loop? Both are able to loop over faces, boundaries and cells, but what are the differences here? Thanks! Am Dienstag, 22. Januar 2019 16:56:28 UTC+1 schrieb Bruno

Re: [deal.II] Re: Difference between MeshWorker::mesh_loop and WorkStream::run

2019-01-22 Thread 'Maxi Miller' via deal.II User Group
Perfect, thanks! Am Dienstag, 22. Januar 2019 16:56:28 UTC+1 schrieb Bruno Turcksin: > > Le mar. 22 janv. 2019 à 10:48, 'Maxi Miller' via deal.II User Group > > a écrit : > > I. e. if I would like to calculate f. ex. the L2-norm of a vector (while > neglecting that there already is a function

Re: [deal.II] Re: Difference between MeshWorker::mesh_loop and WorkStream::run

2019-01-22 Thread Bruno Turcksin
Le mar. 22 janv. 2019 à 10:48, 'Maxi Miller' via deal.II User Group a écrit : > I. e. if I would like to calculate f. ex. the L2-norm of a vector (while > neglecting that there already is a function for that), I can use WorkStream > for parallelization of that, but not MeshWorker, is that

[deal.II] Re: Difference between MeshWorker::mesh_loop and WorkStream::run

2019-01-22 Thread 'Maxi Miller' via deal.II User Group
I. e. if I would like to calculate f. ex. the L2-norm of a vector (while neglecting that there already is a function for that), I can use WorkStream for parallelization of that, but not MeshWorker, is that correct? Am Dienstag, 22. Januar 2019 16:40:42 UTC+1 schrieb Bruno Turcksin: > > Hi, > >

[deal.II] Re: Difference between MeshWorker::mesh_loop and WorkStream::run

2019-01-22 Thread Bruno Turcksin
Hi, WorkStream can work using any iterator, i.e., you are not limited to cells. MeshWorker is built on top of WorkStream and it is there to help you with the assembly of your system. So if you want to use multithreading to assemble your system, you probably want to use MeshWorker otherwise you