Jon,

I don't know of an obvious way to do this. I guess you could create a
map from pair<cell_iterator, face_index> to an index (just increment a
value from 0). Then you can store data in a normal vector. For only
considering a face once, you need to have a tie breaker when filling
this map. You can look how we do it in meshworker for example (always
from the finer cell and from the lower cell index if on the same level
for example).

I hope that helps.


On Wed, Jul 26, 2017 at 5:59 PM, Jon Robey <[email protected]> wrote:
> For a particular project, I am facing a case where I would like to be able
> to store a single value for active cell interfaces, i.e. active cell
> boundaries stored in such a way that I would only need to touch each one
> once for actual computation. i would prefer not to use a matrix, since at
> least one prospective future case would require multiple such vectors and
> the overhead of an additional matrix may be significant, and in the cases I
> am working with I am not planning on using them as matrices. In particular,
> one of the planned uses is for a Flux Corrected Transport based limiter for
> an application. Would anyone have any advice on whether this is possible and
> how it might be best accomplished?
>
> Thank you.
>
> --
> The deal.II project is located at 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xXqOfDjPTxspQxpUp4cbmn_LBpBvTPM348DtEdHNkBI&s=RuB4lMxnk9JJ8zkyBb3l81rZK1TEIIgjBg-VMTcQ6_g&e=
>  
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xXqOfDjPTxspQxpUp4cbmn_LBpBvTPM348DtEdHNkBI&s=3K_pvNTYLgfsq3UIAORNusuwtGz3XX21ehBSRjMbUto&e=
>  
> ---
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=xXqOfDjPTxspQxpUp4cbmn_LBpBvTPM348DtEdHNkBI&s=5tGolVn0AQefWOUvZrvCpL0D0z0ag6ge3DvgRgbr36s&e=
>  .



-- 
Timo Heister
http://www.math.clemson.edu/~heister/

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