2017-02-14 11:30 GMT-05:00 'Uwe Köcher' via deal.II User Group
<dealii@googlegroups.com>:
> I'm wondering, if it is impossible to call dof.clear(),
> which should remove the link to triangulation object,
> in python or the c++ code beyond?
>
> I've included such a line in a destructor within my c++ codes, to get rid of
> a similar message as posted above.
This is a good idea. I looked a little bit and python garbage
collector uses some heuristic to know when he can destroy an object.
So there is no guarantee that the object will be destroyed in the
reverse order that they are created.

Best,

Bruno

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to