The atomic dimer search (class AtomicDimer) and its status types. More...
Classes | |
| struct | DimerRelaxationCycleCertificate |
| struct | DimerRelaxationBacktrackResult |
| class | OracleBudgetExhausted |
| struct | DimerSurrogateActionCertificate |
| struct | DimerSaddleMeritBacktrackResult |
| class | AtomicDimer |
| Atomic dimer. More... | |
Functions | |
| bool | shouldLogDimerFinalState (const gpr::Index_t debug_level) noexcept |
| void | writeDimerCampaignSummary (std::ostream &os, double energy, bool converged, double energy_zero) |
| Eigen::Index | selectHssvdModeIndex (const Eigen::VectorXd &eigenvalues, const Eigen::MatrixXd &eigenvectors, const Eigen::VectorXd &reference, HssvdModeSelectionPolicy policy) noexcept |
| const gpr::Coord & | selectHssvdModeReference (const gpr::Coord &initial_reference, const gpr::Coord ¤t_orientation, HssvdModeSelectionPolicy policy, bool preserve_initial_reference) noexcept |
| DimerOracleProgressAction | selectDimerOracleProgressAction (bool path_leashed_recovery, bool oracle_certified, double best_oracle_force, double trial_oracle_force) noexcept |
| bool | is_subsystem (const gpr::AtomsConfiguration &atoms_config) |
| bool | dimerPhaseBudgetAllows (gpr::Index_t phase, gpr::Index_t limit) noexcept |
| bool | dimerSearchStalled (gpr::Index_t consecutive_degenerate_probes) noexcept |
| bool | dimerGeometriesCoincide (const gpr::Coord &a, const gpr::Coord &b) noexcept |
| Numerical geometry identity for cycle detection and measured-force rescue. | |
| bool | refusalRepeatsIndexZeroExpansion (const gpr::Coord &midpoint, const gpr::Coord &expansion_midpoint, double curvature, double curvature_resolution, double separation) noexcept |
| DimerRelaxationCycleCertificate | certifyDimerRelaxationCycle (const gpr::Coord ¤t, const gpr::Coord &proposed, const gpr::Coord *preceding, double force_current, double force_preceding) noexcept |
| bool | repeatedProjectedTrustStep (const gpr::Coord &step, double curvature, const gpr::Coord &previous_step, double previous_curvature) noexcept |
| bool | shouldTerminateDimerRelaxationForLostProgress (double curvature, double current_residual, double proposed_residual) noexcept |
| bool | shouldBacktrackDimerRelaxationForResidualDecrease (double curvature, double current_residual) noexcept |
| double | dimerPosteriorActionForceScale (double current_residual, double force_tolerance) noexcept |
| bool | posteriorForceResolved (double proposed_force_variance, double action_scale) noexcept |
| bool | measuredRadiusClipRequestsOracle (bool clipped, double proposed_force_variance, double action_scale) noexcept |
| DimerResidualGlobalizationAction | resolvedPointKeepsTheSurrogateWalk (DimerResidualGlobalizationAction action, double proposed_force_variance, double action_scale) noexcept |
| double | posteriorResolvedStep (double force_sigma, double curvature) noexcept |
| double | rejectedTrialRadius (double shrunk, double displacement, double force_sigma, double curvature, double prediction_error, double force_increase=std::numeric_limits< double >::quiet_NaN(), bool transverse_residual_exceeds_step=false) noexcept |
| double | modelAgreementTrustDistance (double configured, double length_scale, double force_error, double force_scale, double energy_error, double energy_scale) noexcept |
| bool | dimerOracleTrialNeedsRefit (double reference_force, double trial_force, double measured_change, double prediction_error, double force_tolerance) noexcept |
| DimerProposalGlobalizationAction | selectDimerProposalGlobalizationAction (double curvature, double current_residual, double force_tolerance, double proposed_force_variance, double posterior_action_force_scale) noexcept |
| DimerProposalGlobalizationAction | selectDimerProposalGlobalizationAction (double curvature, double current_residual, double force_tolerance, double proposed_force_variance) noexcept |
| DimerResidualGlobalizationAction | selectDimerResidualGlobalizationAction (double curvature, double current_residual, bool backtrack_accepted) noexcept |
| DimerResidualGlobalizationAction | selectDimerPosteriorResidualGlobalizationAction (DimerProposalGlobalizationAction proposal_action, double curvature, double current_residual, bool backtrack_accepted) noexcept |
| DimerRelaxationBacktrackResult | backtrackDimerRelaxationForResidualDecrease (const gpr::Coord ¤t, const gpr::Coord &proposed, double current_residual, const std::function< double(const gpr::Coord &)> &evaluate_residual) |
| DimerSaddleMeritBacktrackResult | backtrackDimerSaddleMerit (const gpr::Coord ¤t, const gpr::Coord &proposed, const gpr::Coord &gradient, const gpr::Coord &orientation, double curvature, const std::function< double(const gpr::Coord &)> &energy_change) |
| int | convergenceExitCode (const AtomicDimer &dimer) noexcept |
Variables | |
| constexpr gpr::Index_t | kMaxStalledDegenerateProbes = 30 |
| constexpr int | kMaxConsecutiveOracleFailures = 8 |
The atomic dimer search (class AtomicDimer) and its status types.
|
strong |
| Enumerator | |
|---|---|
| ContinueBurst | |
| RestoreBestAndHandBack | |
Definition at line 373 of file AtomicDimer.h.
|
strong |
| Enumerator | |
|---|---|
| AcceptTrustedTrial | |
| SearchLocalResidualDescent | |
| OracleTrustedTrial | |
Definition at line 253 of file AtomicDimer.h.
|
strong |
Kind of repeated-state terminal certificate for condition-driven dimer inner relaxation. No iteration count or fitted tolerance is involved: the map either returns to the current geometry (period-one) or to the preceding geometry (period-two) at coordinate resolution.
| Enumerator | |
|---|---|
| None | |
| PeriodOne | |
| PeriodTwo | |
Definition at line 118 of file AtomicDimer.h.
|
strong |
Definition at line 378 of file AtomicDimer.h.
|
strong |
| Enumerator | |
|---|---|
| AcceptTrial | |
| AcceptBacktrackedTrial | |
| OracleTrustedTrial | |
Definition at line 247 of file AtomicDimer.h.
|
strong |
Outcome of the first GP-surrogate relaxation action. The certificate records its decisions, mode, and physical trial geometry.
| Enumerator | |
|---|---|
| Uncertifiable | |
| Continue | |
| ForceConverged | |
| GeometryCycle | |
| InteratomicTrustBoundary | |
| IterationBudget | |
| MeasuredTrustBoundary | |
Definition at line 425 of file AtomicDimer.h.
|
strong |
| Enumerator | |
|---|---|
| LowestCurvature | |
| ReferenceConnectedNegative | |
Definition at line 75 of file AtomicDimer.h.
|
inlinenodiscard |
Search the trusted proposal segment for strict residual descent. Midpoint contraction ends when a decreasing point is found or the candidate coincides with the source geometry at coordinate resolution.
Definition at line 563 of file AtomicDimer.h.
|
inlinenodiscard |
Local saddle merit of Gould, Ortner and Packwood (2016): F(x+s)-F(x) = E(x+s)-E(x)-2(g.v)(s.v)-lambda(s.v)^2. Its gradient at x is the reflected dimer gradient. Armijo contraction permits transverse descent without requiring the force norm to decrease.
Definition at line 602 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Terminal certificate for a condition-driven dimer relaxation step. ~proposed~ is the map image of ~current~. ~preceding~ is the geometry accepted on the previous inner step (null/empty on the first step). ~force_*~ are surrogate force scales (max abs component) used only to choose the lower-force member of a period-two cycle; ties keep current.
Definition at line 166 of file AtomicDimer.h.
|
inlinenoexcept |
Definition at line 14 of file AtomicDimerExitStatus.h.
|
inlinenodiscardnoexcept |
Numerical geometry identity for cycle detection and measured-force rescue.
Definition at line 136 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
A worsening measured trial needs another fit when its force prediction error exceeds the accepted center's force scale or convergence floor. The trial cannot enlarge its own error budget by reversing the force. Accurate uphill steps remain admissible during escape from a minimum.
Definition at line 461 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Nonpositive phase limits leave termination to the dimer's convergence, cycle, curvature, trust, and alignment certificates. Positive limits are explicit caller budgets.
Definition at line 96 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Resolve a surrogate action against the larger of its live force signal and the final convergence scale. This is the denominator of the dimensionless posterior action ratio tr(Sigma_F) / max(||F||^2, tau^2).
Definition at line 262 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Definition at line 108 of file AtomicDimer.h.
| bool atmd::is_subsystem | ( | const gpr::AtomsConfiguration & | atoms_config | ) |
Definition at line 554 of file AtomicDimer.cpp.
|
inlinenodiscardnoexcept |
A clip onto the measured-trial radius is an oracle only while the clipped point is still unresolved. A resolved clip is already inside the model, so the surrogate keeps the bounded step.
Definition at line 287 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Definition at line 357 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
The posterior force is resolved when its variance is below the squared action scale. A non-finite variance is not resolved.
Definition at line 274 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Displacement on which the curvature changes the force by one posterior standard deviation. A shorter step is inside the noise of the model.
Definition at line 310 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
A final-stencil refusal repeats a complete index-zero expansion when it lies within one dimer separation of that expansion's midpoint and its own measured curvature is not resolvably negative: the forward differences of both carry that much truncation, so a new expansion measures the same Hessian.
Definition at line 147 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Radius after a rejected trial.
The rho = 0 shrink is undone toward the posterior resolution when that resolution lies inside the failed step, by the fraction of the posterior the force-change error used (force_sigma / prediction_error, at most one). When the resolution lies beyond the step, the failed displacement is still inside one posterior standard deviation of curvature, so the shrink is undone all the way when three posterior facts hold together: the measured force increase is at most one standard deviation, the curvature's own force change over the step covers that increase (|curvature| * displacement >= force_increase), and the step did not leave a larger residual on a transverse mode than on the modes it moved. A transverse residual the radius did not bound is not a reason to put the radius back, and a worsening the curvature does not cover is not either.
Definition at line 333 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
The surrogate trust-region step repeated. Its displacement and curvature agree to the HS-SVD singular-value cutoff (sqrt(eps)), so another inner iteration applies the same proposal. The geometry need not yet coincide: a limited step can translate for several iterations before a coordinate cycle closes, and each of those iterations rebuilds the same posterior.
Definition at line 195 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
A lost-progress rule measures the trial so the next fit can move. When the posterior force is already resolved, that measurement repeats a force the model has, and the surrogate walk continues instead.
Definition at line 298 of file AtomicDimer.h.
|
nodiscardnoexcept |
A path-leashed recovery burst accepts only strict progress measured on the true PES. Standalone searches and surrogate-filled phases keep exploring.
Definition at line 540 of file AtomicDimer.cpp.
|
inlinenodiscardnoexcept |
Posterior resolution certifies global surrogate motion. Once the translated force enters its local convergence basin, residual globalization supplies the stronger root-finding certificate. An unresolved proposal is measured.
Definition at line 543 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Definition at line 510 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Use posterior force resolution as the global trust certificate and reserve monotone residual line search for the local minimum-mode root basin.
Definition at line 480 of file AtomicDimer.h.
|
inlinenodiscardnoexcept |
Select how a trust-bounded dimer translation proceeds after residual globalization. A stalled negative-curvature trial is measured rather than rejected at the source geometry or followed by further surrogate steps.
Definition at line 524 of file AtomicDimer.h.
|
nodiscardnoexcept |
Select an HS-SVD eigenmode. Reference-connected selection follows the negative-curvature mode with greatest overlap to the supplied mode; when no negative mode exists it returns the lowest-curvature mode.
Definition at line 347 of file AtomicDimer.cpp.
|
nodiscardnoexcept |
Reference-connected OCI mode tracking uses the immutable path axis at each rotation phase. Other dimer policies continue from the current orientation.
Definition at line 418 of file AtomicDimer.cpp.
|
inlinenodiscardnoexcept |
A trusted negative-curvature MMF step follows a translated-force root. Backtracking keeps each surrogate proposal on a strict residual descent path; coordinate resolution bounds the search when no descent point exists.
Definition at line 234 of file AtomicDimer.h.
|
nodiscardnoexcept |
Definition at line 333 of file AtomicDimer.cpp.
|
inlinenodiscardnoexcept |
A trusted negative-curvature MMF proposal must reduce the translated-force residual. Non-finite residuals terminate in every curvature regime. The strict comparison supplies condition-driven terminality without an iteration count or a fitted progress tolerance.
Definition at line 221 of file AtomicDimer.h.
| void atmd::writeDimerCampaignSummary | ( | std::ostream & | os, |
| double | energy, | ||
| bool | converged, | ||
| double | energy_zero = 0.0 ) |
One-line paper-campaign fields. Independent of debug_level so run_one.sh can parse saddle energy and convergence on every cell.
Definition at line 339 of file AtomicDimer.cpp.
|
inlineconstexpr |
Consecutive trial geometries at which the oracle may fail (raise, or return a non-finite energy or force) before the dimer search stops with an error. Each failure is a rejected trial: no training row, a shorter next step.
Definition at line 651 of file AtomicDimer.h.
|
inlineconstexpr |
A search that is not a burst stops once this many consecutive probes added no distinct observation: the structural image-1 recovery has had many chances, and the outer loop would otherwise repeat the same rejected observation until the caller kills it.
Definition at line 106 of file AtomicDimer.h.