Loading...
Searching...
No Matches
XtsciIrc.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
17#include <vector>
18
19namespace eonc {
20
23struct IrcBranch {
24 std::vector<AtomMatrix> positions;
25 std::vector<double> energies;
26 std::vector<double> maxForces;
29 long steps{0};
30 bool reachedMinimum{false};
31};
32
39
42bool ircAvailable();
43
50IrcPath followIrc(const Matter &saddle, const AtomMatrix &mode,
51 const Parameters &params);
52
53} // 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.
IrcPath followIrc(const Matter &saddle, const AtomMatrix &mode, const Parameters &params)
Follows the rgsaddle IRC from a converged saddle along both signs of its lowest mode.
Definition XtsciIrc.cpp:138
bool ircAvailable()
True when this build can run followIrc: linked to rgsaddle at C ABI minor 14 or newer,...
Definition XtsciIrc.cpp:128
Accepted points of one branch of the intrinsic reaction coordinate (IRC), in order away from the sadd...
Definition XtsciIrc.h:23
std::vector< AtomMatrix > positions
Definition XtsciIrc.h:24
std::vector< double > maxForces
Definition XtsciIrc.h:26
std::vector< double > energies
Definition XtsciIrc.h:25
bool reachedMinimum
Definition XtsciIrc.h:30
long steps
rgsaddle steps taken; a step that rejects its first trial adds none of the points above.
Definition XtsciIrc.h:29
Both branches of the IRC.
Definition XtsciIrc.h:35
IrcBranch minus
Definition XtsciIrc.h:36
IrcBranch plus
Definition XtsciIrc.h:37