Dear Praveen,
you can call IndexSet::nth_index_in_range(0) (in case
IndexSet::n_elements() > 0) to get the first entry in the index set.
Best,
Martin
On 23.10.2016 07:38, Praveen C wrote:
I have an IndexSet of locally_owned_dofs and I want to know the
starting index.
praveen
On Sun, Oct 23, 2016 at 9:56 AM, Wolfgang Bangerth
<[email protected] <mailto:[email protected]>> wrote:
On 10/22/2016 09:41 PM, Praveen C wrote:
local_range is marked deprecated
http://www.dealii.org/developer/doxygen/deal.II/classLinearAlgebra_1_1distributed_1_1Vector.html#ade4b13c22b96f11d6652bf2271602180
<http://www.dealii.org/developer/doxygen/deal.II/classLinearAlgebra_1_1distributed_1_1Vector.html#ade4b13c22b96f11d6652bf2271602180>
How can I get the same info without using this function ?
There should be a function that returns an IndexSet that contains
all of the elements locally stored.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
<mailto:[email protected]>
www:
http://www.math.colostate.edu/~bangerth/
<http://www.math.colostate.edu/%7Ebangerth/>
--
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
<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]
<mailto:dealii%[email protected]>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
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.