for (const unsigned int f : GeometryInfo<dim>::face_indices())
{
out << ' '
- << static_cast<std::make_signed<types::boundary_id>::type>(
+ << static_cast<std::make_signed_t<types::boundary_id>>(
cell->face(f)->boundary_id());
}
out << '\n';
if (svg_flags.label_level_number ||
svg_flags.label_cell_index)
out << ',';
- out
- << static_cast<std::make_signed<types::material_id>::type>(
- cell->material_id());
+ out << static_cast<std::make_signed_t<types::material_id>>(
+ cell->material_id());
}
if (svg_flags.label_subdomain_id)
svg_flags.label_cell_index || svg_flags.label_material_id)
out << ',';
if (cell->is_active())
- out << static_cast<
- std::make_signed<types::subdomain_id>::type>(
+ out << static_cast<std::make_signed_t<types::subdomain_id>>(
cell->subdomain_id());
else
out << 'X';
svg_flags.label_material_id ||
svg_flags.label_subdomain_id)
out << ',';
- out
- << static_cast<std::make_signed<types::subdomain_id>::type>(
- cell->level_subdomain_id());
+ out << static_cast<std::make_signed_t<types::subdomain_id>>(
+ cell->level_subdomain_id());
}
out << "</text>" << '\n';
patch.vertices[v] = cell->vertex(v);
patch.data(0, v) = cell->level();
patch.data(1, v) =
- static_cast<std::make_signed<types::manifold_id>::type>(
+ static_cast<std::make_signed_t<types::manifold_id>>(
cell->manifold_id());
patch.data(2, v) =
- static_cast<std::make_signed<types::material_id>::type>(
+ static_cast<std::make_signed_t<types::material_id>>(
cell->material_id());
if (cell->is_active())
patch.data(3, v) =
- static_cast<std::make_signed<types::subdomain_id>::type>(
+ static_cast<std::make_signed_t<types::subdomain_id>>(
cell->subdomain_id());
else
patch.data(3, v) = -1;
patch.data(4, v) =
- static_cast<std::make_signed<types::subdomain_id>::type>(
+ static_cast<std::make_signed_t<types::subdomain_id>>(
cell->level_subdomain_id());
}
patches.push_back(patch);
{
for (const auto &cell : tria.active_cell_iterators())
{
- out << static_cast<std::make_signed<types::material_id>::type>(
+ out << static_cast<std::make_signed_t<types::material_id>>(
cell->material_id())
<< ' ';
}
{
for (const auto &face : faces)
{
- out << static_cast<std::make_signed<types::boundary_id>::type>(
+ out << static_cast<std::make_signed_t<types::boundary_id>>(
face->boundary_id())
<< ' ';
}
{
for (const auto &edge : edges)
{
- out << static_cast<std::make_signed<types::boundary_id>::type>(
+ out << static_cast<std::make_signed_t<types::boundary_id>>(
edge->boundary_id())
<< ' ';
}
{
for (const auto &cell : tria.active_cell_iterators())
{
- out << static_cast<std::make_signed<types::manifold_id>::type>(
+ out << static_cast<std::make_signed_t<types::manifold_id>>(
cell->manifold_id())
<< ' ';
}
{
for (const auto &face : faces)
{
- out << static_cast<std::make_signed<types::manifold_id>::type>(
+ out << static_cast<std::make_signed_t<types::manifold_id>>(
face->manifold_id())
<< ' ';
}
{
for (const auto &edge : edges)
{
- out << static_cast<std::make_signed<types::manifold_id>::type>(
+ out << static_cast<std::make_signed_t<types::manifold_id>>(
edge->manifold_id())
<< ' ';
}
patch.data(0, vertex) = cell->level();
if (cell->is_active())
patch.data(1, vertex) = static_cast<double>(
- static_cast<std::make_signed<types::subdomain_id>::type>(
+ static_cast<std::make_signed_t<types::subdomain_id>>(
cell->subdomain_id()));
else
patch.data(1, vertex) = -1.0;
patch.data(2, vertex) = static_cast<double>(
- static_cast<std::make_signed<types::subdomain_id>::type>(
+ static_cast<std::make_signed_t<types::subdomain_id>>(
cell->level_subdomain_id()));
patch.data(3, vertex) = tria.locally_owned_subdomain();
}