> Thanks. If I dont do any reordering then, continuous nature holds, right ? 
> Does this hold even after a grid refinement ?

Yes. If you call `dof_handler.distribute_dofs()`, then the index range is 
contiguous.


> I can create this info myself
> 
> // First global index on this partition
>     AssertThrow(newton_update.locally_owned_elements().is_contiguous(),
>                 ExcMessage("Indices not contiguous"));
>     local_range.first = *newton_update.locally_owned_elements().begin();
>     local_range.second = local_range.first + newton_update.local_size();

Correct too!
Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            www: http://www.math.colostate.edu/~bangerth/

-- 
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.

Reply via email to