Loading...
Searching...
No Matches
PrfoRefine.h
Go to the documentation of this file.
1/*
2** This file is part of eOn.
3**
4** SPDX-License-Identifier: BSD-3-Clause
5**
6** Copyright (c) 2010--present, eOn Development Team
7** All rights reserved.
8**
9** Repo:
10** https://github.com/TheochemUI/eOn
11*/
12#pragma once
13
14#include "Matter.h"
15#include "Parameters.h"
16
17namespace eonc {
18
20 bool converged{false};
22 bool restored{false};
23 long steps{0};
24 long forceCalls{0};
25 double maxForce{0.0};
26 double energy{0.0};
27};
28
37PrfoRefineResult prfoRefineSaddle(Matter &matter, const AtomMatrix &mode,
38 double curvature, const Parameters &params);
39
44void requirePrfoRefine(const Parameters &params);
45
48double modeCurvature(const Matter &matter, const AtomMatrix &mode, double dr);
49
50} // namespace eonc
Eigen::Matrix< double, Eigen::Dynamic, 3, eOnStorageOrder > AtomMatrix
Definition Eigen.h:37
RAII resource manager for the ARTn C library with global synchronization.
PrfoRefineResult prfoRefineSaddle(Matter &, const AtomMatrix &, double, const Parameters &)
Partitioned rational function optimization (P-RFO) of a first-order saddle in the rgsaddle Sella orde...
void requirePrfoRefine(const Parameters &params)
Does nothing unless [Saddle Search] prfo_refine is on.
double modeCurvature(const Matter &matter, const AtomMatrix &mode, double dr)
Curvature along mode from one forward difference of the forces over dr Angstrom.
bool restored
The refined point had a larger max-atom force and was dropped.
Definition PrfoRefine.h:22