Skip to content

Commit

Permalink
furthered simple example hand-matched to C++
Browse files Browse the repository at this point in the history
  • Loading branch information
rfabbri committed Jun 14, 2024
1 parent 5450d62 commit 33617bf
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion minus/chicago14a.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ struct eval<chicago14a, F> {
};

#include "chicago14a-Hxt.hxx"
#include "chicago14a-HxH.hxx"
#include "chicago14a-HxH-tst2.hxx"

// Problem and Formulation Paramers --------------------------------------------

Expand Down
6 changes: 4 additions & 2 deletions tutorial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ C = {

## Evaluate to check equation
- How can we evaluate the the equations on the system?
evaluate(F,x0||p0) only for F gatematrix, but we ony have gateSystem in Ex, not
gatematrix.

- evaluate(F,x0||p0) only for F gatematrix,
- but we ony have gateSystem in Ex, not gatematrix.
- gateSystem is >= M2 1.14, whats the corresponding eval fn?

Usually one creates gateSystem from Gatematrix:
GS = gateSystem(GS)
Expand Down
20 changes: 19 additions & 1 deletion tutorial/ex-start.m2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,25 @@ cameraVars = flatten entries vars GS
PH = parametricSegmentHomotopy GS

-- Pro only --------------------------------------------------------------------
-- setDefault(CorrectorTolerance=>1e-8)

-- SET TRACKER OPTIONS HERE
-- null indicates default value
scan({CorrectorTolerance=>1e-4,
EndZoneFactor=>2e-1,
InfinityThreshold => 1e6,
maxCorrSteps => 3,
NoOutput => true,
numberSuccessesBeforeIncrease => 2,
Precision => null,
Predictor => RungeKutta4,
stepIncreaseFactor => 2,
tStep => 5e-2,
tStepMin => 1e-5
},
opt -> setDefault(opt))

setDefault(CorrectorTolerance=>1e-8)


-------------------------------------------------------------------------------

Expand Down

0 comments on commit 33617bf

Please sign in to comment.