WorkStream + hp : resizing members of Copy/Scratch data

13 views
Skip to first unread message

Denis Davydov

unread,
Feb 3, 2017, 8:36:03 AM2/3/17
to deal.II User Group
Hi all,

That's a question, probably, to Wolfgang and/or Bruno.

It's not explicitly mention in the documentation whether or not parts of the Copy/Scratch data classes can be resized during cell assembly.
Obviously, in the hp-FEM case, one would need to resize local matrices according to a FE used at the given cell.
One may also resize some extra auxiliary objects in Scratch data (say a vector of densities at each quadrature point).

So far i don't have any indication that such resizing is not allowed, but just wanted to double check.

Regards,
Denis.

Bruno Turcksin

unread,
Feb 3, 2017, 8:42:12 AM2/3/17
to deal.II User Group
Denis,


On Friday, February 3, 2017 at 8:36:03 AM UTC-5, Denis Davydov wrote:
So far i don't have any indication that such resizing is not allowed, but just wanted to double check.
It should work. I can't think of a reason why it wouldn't.

Best,

Bruno

Denis Davydov

unread,
Feb 3, 2017, 8:45:44 AM2/3/17
to deal.II User Group
Thanks for confirming this, Bruno.
Do you think we should mention in the documentation?

Bruno Turcksin

unread,
Feb 3, 2017, 8:49:56 AM2/3/17
to dea...@googlegroups.com
2017-02-03 8:45 GMT-05:00 Denis Davydov <davy...@gmail.com>:
> Thanks for confirming this, Bruno.
> Do you think we should mention in the documentation?
Sure. Since you asked the question, there are probably others with the
same question.

Bruno
Reply all
Reply to author
Forward
0 new messages