The solution is pretty easy - just implement copy constructor of scratch
data that will call the regular constructor of FEValues. Is it right?
All best,
Rostislav.
2009/7/17 Rostislav Khlebnikov <[email protected]>
> Hello all,
>
> I'm trying to parallelize my matrix-assembly routines using WorkStream
> paradigm introduced in deal.ii 6.3.pre.
> Everything works fine except for adding FEValues obects to a ScratchData
> structure (like in example in Parallel computing with multiple
> processors<http://www.dealii.org/developer/doxygen/deal.II/group__threads.html>).
> The compiler reports an error because the constructor of FEValuesBase is
> declared private. For now I bypass this problem by initializing FEValues and
> FEFaceValues every time the assemble_one_cell is called.
>
> Could yo please tell me if there is a better solution of that problem now?
>
> Best regards,
> Rostislav.
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii