to obtain the mesh type from a segmentation. However, it would be nice to reuse the existing mesh-metafunction for this:
viennagrid::result_of::mesh<SegmentationT>::type
or at least to error out when using mesh<> on a segmentation. Currently this interprets the segmentation as a config and tries to create a new mesh type, which is misleading.
Right now one has to write
to obtain the mesh type from a segmentation. However, it would be nice to reuse the existing mesh-metafunction for this:
or at least to error out when using mesh<> on a segmentation. Currently this interprets the segmentation as a config and tries to create a new mesh type, which is misleading.