viennagrid / viennagrid-dev

Developer repository for ViennaGrid. Visit http://viennagrid.sourceforge.net/ for the latest releases.
MIT License
15 stars 7 forks source link

Directly get mesh() from a segment_handle() #42

Closed karlrupp closed 10 years ago

karlrupp commented 10 years ago

If I want to get the underlying parent mesh from a segment_handle, I'd like to write

seg_handle.mesh();

just like for a segmentation. Instead, one has to write

seg_handle.parent().mesh()

which is a lengthy. Any objections on using the shorter version?