Line data Source code
1 0 : // Distributed under the MIT License. 2 : // See LICENSE.txt for details. 3 : 4 : #pragma once 5 : 6 : #include <cstddef> 7 : #include <map> 8 : #include <variant> 9 : 10 : #include "NumericalAlgorithms/Convergence/HasConverged.hpp" 11 : #include "Parallel/InboxInserters.hpp" 12 : #include "Utilities/Serialization/PupStlCpp17.hpp" 13 : #include "Utilities/TMPL.hpp" 14 : 15 : namespace NonlinearSolver::newton_raphson::detail::Tags { 16 : 17 : template <typename OptionsGroup> 18 : struct GlobalizationResult 19 : : Parallel::InboxInserters::Value<GlobalizationResult<OptionsGroup>> { 20 : using temporal_id = size_t; 21 : using type = 22 : std::map<temporal_id, std::variant<double, Convergence::HasConverged>>; 23 : }; 24 : 25 : } // namespace NonlinearSolver::newton_raphson::detail::Tags