Wildmeshing Toolkit
MeshVariantTraits.cpp
Go to the documentation of this file.
1
#include "
MeshVariantTraits.hpp
"
2
#include <
wmtk/Mesh.hpp
>
3
4
5
namespace
wmtk::utils::metaprogramming
{
6
7
template
<>
8
size_t
MeshVariantTraits::get_index
(
const
Mesh& m)
9
{
10
return
m.top_cell_dimension();
11
}
12
}
// namespace wmtk::utils::metaprogramming
Mesh.hpp
MeshVariantTraits.hpp
wmtk::utils::metaprogramming
Definition:
as_mesh_variant.cpp:9
wmtk::utils::metaprogramming::DerivedReferenceWrapperVariantTraits::get_index
static size_t get_index(const BaseType &t)
src
wmtk
utils
metaprogramming
MeshVariantTraits.cpp
Generated by
1.9.1