Dear deal.ii users and developers:

Thanks to the detailed write-up and example 32, I have been able to get
multi-threading working via the WorkStream.  Everything is running well,
except that I am not sure what to do about using parsed functions during the
assembly process.  In my assemble_cell() function, in order to get the
correct answer, I have to put mutex statements around the calls to
parsed_function.value_list and the like.  I haven't checked it thoroughly
yet, but I know that before this caused some serious performance
degradation.

Would it work to put these parsed functions in the ScratchData?  Would sort
of overhead would that generate?  Do you have a recommended way of dealing
with ParsedFunction when using the WorkStream?

Thanks,

Jon Pitt
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to