ViennaGrid - The Vienna Grid Library
2.1.0
|
Metafunction for obtaining the cell type of something. Will fail if there is more than one cell type. More...
#include <mesh.hpp>
Public Types | |
typedef cells< something >::type | all_cell_types |
typedef viennagrid::detail::STATIC_ASSERT < viennagrid::detail::result_of::size < all_cell_types >::value==1 > ::type | static_assert_typedef |
typedef viennagrid::detail::result_of::at < all_cell_types, 0 >::type | type |
Metafunction for obtaining the cell type of something. Will fail if there is more than one cell type.
SomethingT | The host type, can be a collection, a mesh, a segmentation or a segment |
typedef cells<something>::type all_cell_types |
typedef viennagrid::detail::STATIC_ASSERT< viennagrid::detail::result_of::size<all_cell_types>::value == 1 >::type static_assert_typedef |
typedef viennagrid::detail::result_of::at<all_cell_types,0>::type type |