File indexing completed on 2025-01-18 09:11:15
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/Definitions/Common.hpp"
0010
0011 #include <cassert>
0012 #include <cstdlib>
0013 #include <ostream>
0014
0015 std::ostream& Acts::operator<<(std::ostream& os,
0016 MaterialUpdateStage matUpdate) {
0017 switch (matUpdate) {
0018 case MaterialUpdateStage::PreUpdate:
0019 os << "PreUpdate (-1)";
0020 break;
0021 case MaterialUpdateStage::PostUpdate:
0022 os << "PostUpdate (1)";
0023 break;
0024 case MaterialUpdateStage::FullUpdate:
0025 os << "FullUpdate (0)";
0026 break;
0027 default:
0028 assert(false && "Invalid material update stage (shouldn't happen)");
0029 std::abort();
0030 }
0031 return os;
0032 }