Hello all,
I have a small question related to data output in parallel.
My program uses Parallel::distributed::triangulation.
If I want to output a data array associated with cell, which one of the
following is the correct way of doing it ? And why ?
(This cell data type vector is to be viewed in Paraview.)
int index = 0
for (;cell!=endc, ++ cell, ++index)
if(cell->is_locally_owned)
data_array(index) = value;
or
for (;cell!=endc, ++ cell)
if(cell->is_locally_owned())
data_array(cell->active_cell_index()) = value;
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.