File indexing completed on 2025-04-05 07:57:54
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/Material/GridSurfaceMaterialFactory.hpp"
0010
0011 std::unique_ptr<Acts::IGridSurfaceMaterial<Acts::MaterialSlab>>
0012 Acts::GridSurfaceMaterialFactory::create(
0013 const ProtoAxis& pAxis, GridMaterialAccessor&& materialAccessor,
0014 GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
0015 GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
0016 const std::vector<MaterialSlab>& payload) {
0017 return create1D<GridMaterialAccessor>(pAxis, std::move(materialAccessor),
0018 std::move(boundToGridLocal),
0019 std::move(globalToGridLocal), payload);
0020 }
0021
0022 std::unique_ptr<
0023 Acts::IGridSurfaceMaterial<Acts::IndexedMaterialAccessor::grid_value_type>>
0024 Acts::GridSurfaceMaterialFactory::create(
0025 const ProtoAxis& pAxis, IndexedMaterialAccessor&& materialAccessor,
0026 GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
0027 GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
0028 const std::vector<IndexedMaterialAccessor::grid_value_type>& payload) {
0029 return create1D<IndexedMaterialAccessor>(
0030 pAxis, std::move(materialAccessor), std::move(boundToGridLocal),
0031 std::move(globalToGridLocal), payload);
0032 }
0033
0034 std::unique_ptr<Acts::IGridSurfaceMaterial<
0035 Acts::GloballyIndexedMaterialAccessor::grid_value_type>>
0036 Acts::GridSurfaceMaterialFactory::create(
0037 const ProtoAxis& pAxis, GloballyIndexedMaterialAccessor&& materialAccessor,
0038 GridAccess::BoundToGridLocal1DimDelegate boundToGridLocal,
0039 GridAccess::GlobalToGridLocal1DimDelegate globalToGridLocal,
0040 const std::vector<GloballyIndexedMaterialAccessor::grid_value_type>&
0041 payload) {
0042 return create1D<GloballyIndexedMaterialAccessor>(
0043 pAxis, std::move(materialAccessor), std::move(boundToGridLocal),
0044 std::move(globalToGridLocal), payload);
0045 }
0046
0047 std::unique_ptr<Acts::IGridSurfaceMaterial<Acts::MaterialSlab>>
0048 Acts::GridSurfaceMaterialFactory::create(
0049 const ProtoAxis& pAxis0, const ProtoAxis& pAxis1,
0050 GridMaterialAccessor&& materialAccessor,
0051 GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
0052 GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
0053 const std::vector<std::vector<MaterialSlab>>& payload) {
0054 return create2D<GridMaterialAccessor>(
0055 pAxis0, pAxis1, std::move(materialAccessor), std::move(boundToGridLocal),
0056 std::move(globalToGridLocal), payload);
0057 }
0058
0059 std::unique_ptr<
0060 Acts::IGridSurfaceMaterial<Acts::IndexedMaterialAccessor::grid_value_type>>
0061 Acts::GridSurfaceMaterialFactory::create(
0062 const ProtoAxis& pAxis0, const ProtoAxis& pAxis1,
0063 IndexedMaterialAccessor&& materialAccessor,
0064 GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
0065 GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
0066 const std::vector<std::vector<IndexedMaterialAccessor::grid_value_type>>&
0067 payload) {
0068 return create2D<IndexedMaterialAccessor>(
0069 pAxis0, pAxis1, std::move(materialAccessor), std::move(boundToGridLocal),
0070 std::move(globalToGridLocal), payload);
0071 }
0072
0073 std::unique_ptr<Acts::IGridSurfaceMaterial<
0074 Acts::GloballyIndexedMaterialAccessor::grid_value_type>>
0075 Acts::GridSurfaceMaterialFactory::create(
0076 const ProtoAxis& pAxis0, const ProtoAxis& pAxis1,
0077 GloballyIndexedMaterialAccessor&& materialAccessor,
0078 GridAccess::BoundToGridLocal2DimDelegate boundToGridLocal,
0079 GridAccess::GlobalToGridLocal2DimDelegate globalToGridLocal,
0080 const std::vector<
0081 std::vector<GloballyIndexedMaterialAccessor::grid_value_type>>&
0082 payload) {
0083 return create2D<GloballyIndexedMaterialAccessor>(
0084 pAxis0, pAxis1, std::move(materialAccessor), std::move(boundToGridLocal),
0085 std::move(globalToGridLocal), payload);
0086 }