Skip to content

Commit

Permalink
Adding in templates for ginsburg build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejpaul committed Jan 23, 2025
1 parent 489b43f commit fd1d779
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/simsoptpp/symplectic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ tuple<vector<array<double, SymplField::Size+1>>, vector<array<double, SymplField
double zeta_current = y[2];
double vpar_current = y[3];

// stop = check_stopping_criteria(f, y, iter, res,
// res_hits, dense, t_last, t_current, zeta_last, zeta_current, vpar_last, vpar_current, abstol, zetas, omegas, stopping_criteria, vpars, zetas_stop, vpars_stop, forget_exact_path, dt_save);
stop = check_stopping_criteria<SymplField,sympl_dense>(f, y, iter, res,
res_hits, dense, t_last, t_current, zeta_last, zeta_current, vpar_last, vpar_current, abstol, zetas, omegas, stopping_criteria, vpars, zetas_stop, vpars_stop, forget_exact_path, dt_save);

t_last = t_current;
zeta_last = zeta_current;
Expand Down
2 changes: 1 addition & 1 deletion src/simsoptpp/tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ solve(RHS rhs, typename RHS::State y, double tmax, double dt, double dtmax, doub
double t_last = std::get<0>(step);
double t_current = std::get<1>(step);
dt = t_current - t_last;
stop = check_stopping_criteria(rhs, y, iter, res, res_hits, dense,
stop = check_stopping_criteria<RHS,dense_stepper_type>(rhs, y, iter, res, res_hits, dense,
t_last, t_current, zeta_last, zeta_current, vpar_last, vpar_current, abstol, zetas, omegas, stopping_criteria, vpars, zetas_stop, vpars_stop, forget_exact_path, dt_save);
zeta_last = zeta_current;
vpar_last = vpar_current;
Expand Down

0 comments on commit fd1d779

Please sign in to comment.