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,
>
> 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 
> want to use WorkStream.
>
> Best,
>
> Bruno
>
> On Tuesday, January 22, 2019 at 9:49:11 AM UTC-5, Maxi Miller wrote:
>
>> I was wondering about the difference between calling mesh_loop (from 
>> MeshWorker) and run (from WorkStream). According to the documentation it is 
>> possible to simply replace run() with mesh_loop() when only looping about 
>> own cells, while still having the possibility to extend the program later 
>> to also loop over faces. Thus, is there any advantage of using WorkStream 
>> over MeshWorker?
>>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to