Thank you for the advice. I will look into approaching it like as suggested.

I will probably look into the ASPECT particle code for the process 
communication aspects, and I will likely go for the face iterator approach.

On Thursday, August 3, 2017 at 12:24:09 PM UTC-7, Wolfgang Bangerth wrote:
>
> On 08/03/2017 12:34 PM, Timo Heister wrote: 
> > 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 could store a map<face_iterator,double>. But you'd still have to think 
> about what you want to do in cases where the face is refined and/or where 
> the 
> face is periodic. 
>
> Best 
>   W. 
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 [email protected] 
> <javascript:> 
>                             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