[dune-pdelab] Using physical groups in gmsh for boundary conditions

Bernd Flemisch bernd at iws.uni-stuttgart.de
Thu Mar 3 13:12:44 CET 2011


Hey Alexander,

as the compiler says, an IntersectionGeometry does not have a member 
boundarySegmentIndex. But an Intersection has, so
i.intersection().boundarySegmentIndex()
should work.

Kind regards
Bernd

On 03/03/2011 12:07 PM, Alexander Schlaich wrote:
> Dear all,
>
> I'd like to use physical groups for setting boundary conditions in a
> read-in gmsh mesh using UG, according to the commented section in the
> example listing 17 of pdelab howto.
>
> But using i.boundarySegmentIndex() I get:
>
> boundaries.hh:96: error: 'const class
> Dune::PDELab::IntersectionGeometry<Dune::Intersection<const
> Dune::UGGrid<2>, Dune::UGGridLeafIntersection>  >' has no member named
> 'boundarySegmentIndex'
>
> I'm using recent trunk of pdelab and other dune modules.
>
>
> How can I access the physical groups?
>
>
> Thanks for your answers,
>
>
> Alexander Schlaich
>
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab


-- 
_____________________________________________________________________

Bernd Flemisch                               phone: +49 711 685 69162
IWS, Universität Stuttgart                   fax:   +49 711 685 60430
Pfaffenwaldring 61                  email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart                  url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________





More information about the dune-pdelab mailing list