From 49e861ef36830cf077636f517f758df802a90da1 Mon Sep 17 00:00:00 2001 From: Joana Niermann Date: Tue, 21 Nov 2023 23:29:53 +0100 Subject: [PATCH] Remove volume material grid types as we don't use them and they cause warnings when compiled with surface local positions that are only 2D --- core/include/detray/core/detector_metadata.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/include/detray/core/detector_metadata.hpp b/core/include/detray/core/detector_metadata.hpp index 05ce9073d..96ec7db52 100644 --- a/core/include/detray/core/detector_metadata.hpp +++ b/core/include/detray/core/detector_metadata.hpp @@ -195,15 +195,15 @@ unbounded_cell, unmasked_plane*/>; e_rectangle2_map = 2u, e_trapezoid2_map = 2u, e_annulus2_map = 0u, - e_cell_wire_map = 6u, - e_straw_wire_map = 6u, + e_cell_wire_map = 4u, + e_straw_wire_map = 4u, // Volume material - e_cuboid3_map = 3u, - e_cylinder3_map = 4u, + // e_cuboid3_map = 3u, + // e_cylinder3_map = 4u, // Homogeneous mapetrial - e_slab = 5u, - e_rod = 6u, - e_none = 7u, + e_slab = 3u, + e_rod = 4u, + e_none = 5u, }; /// How to store materials @@ -214,8 +214,8 @@ unbounded_cell, unmasked_plane*/>; grid_collection>, grid_collection>, grid_collection>, - grid_collection>, - grid_collection>, + /*grid_collection>, + grid_collection>,*/ typename container_t::template vector_type, typename container_t::template vector_type>;