Bertini 2
d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
config.hpp
Go to the documentation of this file.
1
//This file is part of Bertini 2.
2
//
3
//bertini2/common/config.hpp is free software: you can redistribute it and/or modify
4
//it under the terms of the GNU General Public License as published by
5
//the Free Software Foundation, either version 3 of the License, or
6
//(at your option) any later version.
7
//
8
//bertini2/common/config.hpp is distributed in the hope that it will be useful,
9
//but WITHOUT ANY WARRANTY; without even the implied warranty of
10
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
//GNU General Public License for more details.
12
//
13
//You should have received a copy of the GNU General Public License
14
//along with tracking/include/bertini2/trackers/config.hpp. If not, see <http://www.gnu.org/licenses/>.
15
//
16
// Copyright(C) Bertini2 Development Team
17
//
18
// See <http://www.gnu.org/licenses/> for a copy of the license,
19
// as well as COPYING. Bertini2 is provided with permitted
20
// additional terms in the b2/licenses/ directory.
21
22
23
#ifndef BERTINI2_COMMON_CONFIG
24
#define BERTINI2_COMMON_CONFIG
25
26
#pragma once
27
28
29
namespace
bertini
30
{
31
32
// aliases for the types used to contain space and time samples, and random vectors for the endgames.
33
template
<
typename
T>
using
SampCont
= std::deque<Vec<T> >;
34
template
<
typename
T>
using
TimeCont
= std::deque<T>;
35
36
enum class
ContStart
{
37
Front
,
38
Back
39
};
40
41
enum class
SuccessCode
42
{
50
NeverStarted
= -1,
51
Success
= 0,
52
HigherPrecisionNecessary
,
53
ReduceStepSize
,
54
GoingToInfinity
,
55
FailedToConverge
,
56
MatrixSolveFailure
,
57
MatrixSolveFailureFirstPartOfPrediction
,
58
MaxNumStepsTaken
,
59
MaxPrecisionReached
,
60
MinStepSizeReached
,
61
Failure
,
62
SingularStartPoint
,
63
ExternallyTerminated
,
64
MinTrackTimeReached
,
65
SecurityMaxNormReached
,
66
CycleNumTooHigh
,
67
FailedToSelectPrecisionAndStepsize
,
68
WallClockLimitReached
,
69
70
};
71
72
// NumErrorT (the error/tolerance numeric type) now lives in num_traits.hpp -- the foundational
73
// header included nearly everywhere -- so tolerance-typed parameters can name it without any
74
// header adding a new include. It is NOT redefined here to keep a single source of truth.
75
}
// namespace bertini
76
77
#include "
bertini2/common/stream_enum.hpp
"
78
79
80
#endif
// include guard
bertini
Definition
algorithm_builder.hpp:36
bertini::SampCont
std::deque< Vec< T > > SampCont
Definition
config.hpp:33
bertini::ContStart
ContStart
Definition
config.hpp:36
bertini::ContStart::Back
@ Back
Definition
config.hpp:38
bertini::ContStart::Front
@ Front
Definition
config.hpp:37
bertini::TimeCont
std::deque< T > TimeCont
Definition
config.hpp:34
bertini::SuccessCode
SuccessCode
Definition
config.hpp:42
bertini::SuccessCode::MinStepSizeReached
@ MinStepSizeReached
Definition
config.hpp:60
bertini::SuccessCode::FailedToConverge
@ FailedToConverge
Definition
config.hpp:55
bertini::SuccessCode::MatrixSolveFailureFirstPartOfPrediction
@ MatrixSolveFailureFirstPartOfPrediction
Definition
config.hpp:57
bertini::SuccessCode::FailedToSelectPrecisionAndStepsize
@ FailedToSelectPrecisionAndStepsize
Definition
config.hpp:67
bertini::SuccessCode::NeverStarted
@ NeverStarted
No tracking was attempted.
Definition
config.hpp:50
bertini::SuccessCode::ExternallyTerminated
@ ExternallyTerminated
Definition
config.hpp:63
bertini::SuccessCode::Success
@ Success
Definition
config.hpp:51
bertini::SuccessCode::MaxNumStepsTaken
@ MaxNumStepsTaken
Definition
config.hpp:58
bertini::SuccessCode::GoingToInfinity
@ GoingToInfinity
Definition
config.hpp:54
bertini::SuccessCode::MinTrackTimeReached
@ MinTrackTimeReached
Definition
config.hpp:64
bertini::SuccessCode::WallClockLimitReached
@ WallClockLimitReached
The tracker's wall-clock deadline passed between steps; the path was abandoned where it was....
Definition
config.hpp:68
bertini::SuccessCode::MatrixSolveFailure
@ MatrixSolveFailure
Definition
config.hpp:56
bertini::SuccessCode::MaxPrecisionReached
@ MaxPrecisionReached
Definition
config.hpp:59
bertini::SuccessCode::ReduceStepSize
@ ReduceStepSize
Definition
config.hpp:53
bertini::SuccessCode::HigherPrecisionNecessary
@ HigherPrecisionNecessary
Definition
config.hpp:52
bertini::SuccessCode::CycleNumTooHigh
@ CycleNumTooHigh
Definition
config.hpp:66
bertini::SuccessCode::Failure
@ Failure
Definition
config.hpp:61
bertini::SuccessCode::SecurityMaxNormReached
@ SecurityMaxNormReached
Definition
config.hpp:65
bertini::SuccessCode::SingularStartPoint
@ SingularStartPoint
Definition
config.hpp:62
stream_enum.hpp
core
include
bertini2
common
config.hpp
Generated by
1.15.0