Adding the & did the trick indeed. Thank you. Thank you as well for the FAQ
entry on this. I completely overlooked it...
Best,
Sylvain
El viernes, 16 de julio de 2021 a la(s) 07:22:25 UTC+2, Jean-Paul Pelteret
escribió:
> To add to what Wolfgang has already said, there’s this entry in our
To add to what Wolfgang has already said, there’s this entry in our FAQ on this
topic:
https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#can-i-convert-triangulation-cell-iterators-to-dofhandler-cell-iterators
On 7/15/21 2:45 AM, Sylvain Mathonnière wrote:
*typenameDoFHandler::active_cell_iteratorcell_2 (cell_1->get_triangulation(),
cell_1->level(), cell_1->index(), dof_handler_2);*
The compiler error tells you that you need pointers, not references. So this
should work:
typename
I tried as you suggested but it seems there is a little error still. I
found the constructor in TriaActiveIterator (5/8 constructor) though.
I wrote :
*typename DoFHandler::active_cell_iterator cell_2
(cell_1->get_triangulation(), cell_1->level(), cell_1->index(),
dof_handler_2);*
and the
On 7/13/21 4:02 AM, Sylvain Mathonnière wrote:
This sounds like what I need to do indeed. However, I cannot find a function
with such arguments in the help of *DoFHandler*. The closest I could find is
in *DoFAccessor*
*DoFAccessor (
const Triangulation< dim, spacedim > * tria,
const int
This sounds like what I need to do indeed. However, I cannot find a
function with such arguments in the help of *DoFHandler*. The closest I
could find is in *DoFAccessor*
*DoFAccessor (const Triangulation< dim, spacedim > * tria,const int
level,const int index,const DoFHandler< dim,
On 7/12/21 4:18 AM, Sylvain Mathonnière wrote:
_*Question:*_
How can I modify the cells worker loop (on dof1) initialisation to have a
second iterator linked with a second dof_handler looping at the same time ? or
how can I add a concurrentely running for loop to the cell_worker with a