[Dune] persistentContainer vertex and faces

Martin Nolte nolte at mathematik.uni-freiburg.de
Tue Mar 17 16:09:28 CET 2015


Hi Marco,

that should be possible.

If you encounter a grid implementation for which this construct does not work, 
please file a bug report.

Best,

Martin

On 03/17/2015 03:56 PM, Marco Cisternino wrote:
> Good morning,
> I have a simple doubt:
>
> in 3D, given this PersistentContainer
>
> Dune::PersistentContainer<HostGrid,Dune::FieldVector< double,3> >
> data_(hostGrid,3);
>
> Can I use this method of PersistentContainer class
>
> Value &operator() (const  Entity &entity,int  subEntity )
>
> to access a PersistentContainer position relative to a vertex, passing as
> entity a face of datatype  HostGrid::Codim<1>::EntityPointer::Entity and the
> local vertex index on that face?
>
> I usually use this method passing a HostGrid::Codim<0>::EntityPointer::Entity
> and the local vertex index on the element.
>
> Thanks,
>
> Marco
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>

-- 
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5630
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune mailing list