[Dune] [Dune-Commit] dune-grid r7996 - trunk/dune/grid/common

Benedikt Oswald benedikt.oswald at psi.ch
Wed Apr 18 14:02:20 CEST 2012


Dear Dune,


I was woken up somewhat by the recent discussion on 'boundaryId'
and the fact that it is marked at 'deprecated'. Now, since we need the boundarId
quite much, what would be the 'clean Dune style' of using id's on boundary faces ?

Should we use

template<class GridImp, template< class > class IntersectionImp>
size_t Dune::Intersection< GridImp, IntersectionImp >::boundarySegmentIndex	(		 ) 	const [inline]

instead of:


template<class GridImp, template< class > class IntersectionImp>
int Dune::Intersection< GridImp, IntersectionImp >::boundaryId	(		 ) 	const [inline]



How does boundarySegmentIndex connect to boundary tags in the DGF file ?

Also, how would we use this in the parallel case ? This is most relevant for us.

Would it be wiser to not used DGF but read directly from gmsh ?


Thanks a lot for your enlightenment and have a great day!

Benedikt




--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, GFA
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12

"Passion is required for any great work, and for the revolution passion and audacity are required in big doses.",
 Ernesto 'Che' Guevara, Letter to his parents.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120418/aeea313e/attachment.htm>


More information about the Dune mailing list