SpECTRE
v2021.04.06
Documentation
Introduction
Releases
Installation
User Tutorials
Dev Guide
Code of Conduct
Contributing Guide
Code Reference
Topics
Namespaces
Files
Bibliography
View on GitHub
src
ParallelAlgorithms
NonlinearSolver
NewtonRaphson
Tags
InboxTags.hpp
1
// Distributed under the MIT License.
2
// See LICENSE.txt for details.
3
4
#pragma once
5
6
#include <
cstddef
>
7
#include <
map
>
8
#include <
optional
>
9
#include <
tuple
>
10
#include <
variant
>
11
12
#include "
DataStructures/DenseVector.hpp
"
13
#include "NumericalAlgorithms/Convergence/HasConverged.hpp"
14
#include "Parallel/InboxInserters.hpp"
15
#include "Parallel/PupStlCpp17.hpp"
16
#include "
Utilities/TMPL.hpp
"
17
18
namespace
NonlinearSolver::newton_raphson::detail::Tags {
19
20
template
<
typename
OptionsGroup>
21
struct
GlobalizationResult
22
:
Parallel::InboxInserters::Value
<GlobalizationResult<OptionsGroup>> {
23
using
temporal_id = size_t;
24
using
type =
25
std::map<temporal_id, std::variant<double, Convergence::HasConverged>
>;
26
};
27
28
}
// namespace NonlinearSolver::newton_raphson::detail::Tags
Parallel::InboxInserters::Value
Inserter for data that is inserted by copy/move.
Definition:
InboxInserters.hpp:86
DenseVector.hpp
tuple
cstddef
map
optional
TMPL.hpp
variant
© Copyright 2017 - 2021
SXS Collaboration
,
Distributed under the
MIT License