← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/trunk] Rev 6626: merge bc changes from Joachim.]

 

On 6 March 2012 18:00, Anders Logg <logg@xxxxxxxxx> wrote:

> Could RangedIndexSet replace the old class IndexSet in other places
> where IndexSet is used?
>

Possibly, although RangedIndexSet has very specific limitations. It is very
efficient if the ranges are known, and if the "active indices" (those being
set) are fairly dense. If I understand correctly from a cursory look,
IndexSet does not require the indices to fall within a pre-set range, and
is more efficient when the set is sparse.

-j.

References