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
29namespace 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{
39 };
40
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
78
79
80#endif // include guard
Definition algorithm_builder.hpp:36
std::deque< Vec< T > > SampCont
Definition config.hpp:33
ContStart
Definition config.hpp:36
@ Back
Definition config.hpp:38
@ Front
Definition config.hpp:37
std::deque< T > TimeCont
Definition config.hpp:34
SuccessCode
Definition config.hpp:42
@ MinStepSizeReached
Definition config.hpp:60
@ FailedToConverge
Definition config.hpp:55
@ MatrixSolveFailureFirstPartOfPrediction
Definition config.hpp:57
@ FailedToSelectPrecisionAndStepsize
Definition config.hpp:67
@ NeverStarted
No tracking was attempted.
Definition config.hpp:50
@ ExternallyTerminated
Definition config.hpp:63
@ Success
Definition config.hpp:51
@ MaxNumStepsTaken
Definition config.hpp:58
@ GoingToInfinity
Definition config.hpp:54
@ MinTrackTimeReached
Definition config.hpp:64
@ WallClockLimitReached
The tracker's wall-clock deadline passed between steps; the path was abandoned where it was....
Definition config.hpp:68
@ MatrixSolveFailure
Definition config.hpp:56
@ MaxPrecisionReached
Definition config.hpp:59
@ ReduceStepSize
Definition config.hpp:53
@ HigherPrecisionNecessary
Definition config.hpp:52
@ CycleNumTooHigh
Definition config.hpp:66
@ Failure
Definition config.hpp:61
@ SecurityMaxNormReached
Definition config.hpp:65
@ SingularStartPoint
Definition config.hpp:62