Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
bertini::classic::ClassicWriteOptions Struct Reference

Tracking / precision settings to emit in the CONFIG section, in Bertini 1 terms. More...

#include <classic_writer.hpp>

Public Attributes

int tracktype = 0
 0 = zero-dimensional solve
int mptype = 2
 0 double, 1 fixed-multiple, 2 adaptive
int odepredictor = 5
 5 = RKF45 (the Bertini 2 default)
double tracktolbeforeeg = 1e-5
 Newton tolerance before the endgame.
double tracktolduringeg = 1e-6
 Newton tolerance during the endgame.
double finaltol = 1e-11
 final tracking tolerance
double maxstepsize = 0.1
 MaxStepSize (B2 SteppingConfig default 1/10).
double stepsuccessfactor = 2.0
 StepSuccessFactor (B2 default 2).
double stepfailfactor = 0.5
 StepFailFactor (B2 default 1/2).
unsigned stepsforincrease = 5
 StepsForIncrease (B2 default 5).
unsigned long maxnumbersteps = 100000
 MaxNumberSteps (B2 default 1e5).
unsigned maxnewtonits = 2
 MaxNewtonIts (B2 default 2).
unsigned maxcrossedpathresolves = 2
 endgame-boundary crossed-path re-track attempts

Detailed Description

Tracking / precision settings to emit in the CONFIG section, in Bertini 1 terms.

Defaults mirror Bertini 2's defaults for an adaptive zero-dim solve, so the emitted file runs the same problem with the same knobs in Bertini 1 (the random start system aside).

Member Data Documentation

◆ finaltol

double bertini::classic::ClassicWriteOptions::finaltol = 1e-11

final tracking tolerance

◆ maxcrossedpathresolves

unsigned bertini::classic::ClassicWriteOptions::maxcrossedpathresolves = 2

endgame-boundary crossed-path re-track attempts

◆ maxnewtonits

unsigned bertini::classic::ClassicWriteOptions::maxnewtonits = 2

MaxNewtonIts (B2 default 2).

◆ maxnumbersteps

unsigned long bertini::classic::ClassicWriteOptions::maxnumbersteps = 100000

MaxNumberSteps (B2 default 1e5).

◆ maxstepsize

double bertini::classic::ClassicWriteOptions::maxstepsize = 0.1

MaxStepSize (B2 SteppingConfig default 1/10).

◆ mptype

int bertini::classic::ClassicWriteOptions::mptype = 2

0 double, 1 fixed-multiple, 2 adaptive

◆ odepredictor

int bertini::classic::ClassicWriteOptions::odepredictor = 5

5 = RKF45 (the Bertini 2 default)

◆ stepfailfactor

double bertini::classic::ClassicWriteOptions::stepfailfactor = 0.5

StepFailFactor (B2 default 1/2).

◆ stepsforincrease

unsigned bertini::classic::ClassicWriteOptions::stepsforincrease = 5

StepsForIncrease (B2 default 5).

◆ stepsuccessfactor

double bertini::classic::ClassicWriteOptions::stepsuccessfactor = 2.0

StepSuccessFactor (B2 default 2).

◆ tracktolbeforeeg

double bertini::classic::ClassicWriteOptions::tracktolbeforeeg = 1e-5

Newton tolerance before the endgame.

◆ tracktolduringeg

double bertini::classic::ClassicWriteOptions::tracktolduringeg = 1e-6

Newton tolerance during the endgame.

◆ tracktype

int bertini::classic::ClassicWriteOptions::tracktype = 0

0 = zero-dimensional solve