GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
ReactiveAtomTypes.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
#pragma once
5
6
#include <Eigen/Dense>
7
#include <array>
8
#include <string>
9
#include <unordered_map>
10
#include <utility>
11
#include <vector>
12
13
#include "
../../backend/Macros.h
"
14
15
namespace
gpr::geometry
{
16
20
[[nodiscard]]
double
covalentRadius
(
int
atomic_number);
21
25
[[nodiscard]] std::vector<std::pair<int, int>>
covalentBondGraph
(
26
const
Eigen::VectorXd& positions,
const
std::vector<int>& atomic_numbers,
27
const
std::array<double, 9>& cell = {});
28
29
struct
ReactiveAtomTypes
{
32
std::vector<int>
reactive_atoms
;
35
std::vector<Index_t>
types
;
38
std::unordered_map<std::string, Index_t>
atomtypes
;
39
};
40
51
[[nodiscard]]
ReactiveAtomTypes
assignReactiveAtomTypes
(
52
const
Eigen::VectorXd& reactant,
const
Eigen::VectorXd& product,
53
const
std::vector<int>& atomic_numbers,
const
std::vector<Index_t>& types,
54
const
std::unordered_map<std::string, Index_t>& atomtypes,
55
const
std::array<double, 9>& cell = {});
56
57
}
// namespace gpr::geometry
Macros.h
gpr::geometry
Definition
CorderoRadii.h:9
gpr::geometry::covalentRadius
double covalentRadius(int atomic_number)
Definition
ReactiveAtomTypes.cpp:15
gpr::geometry::assignReactiveAtomTypes
ReactiveAtomTypes assignReactiveAtomTypes(const Eigen::VectorXd &reactant, const Eigen::VectorXd &product, const std::vector< int > &atomic_numbers, const std::vector< Index_t > &types, const std::unordered_map< std::string, Index_t > &atomtypes, const std::array< double, 9 > &cell)
Definition
ReactiveAtomTypes.cpp:52
gpr::geometry::covalentBondGraph
std::vector< std::pair< int, int > > covalentBondGraph(const Eigen::VectorXd &positions, const std::vector< int > &atomic_numbers, const std::array< double, 9 > &cell)
Definition
ReactiveAtomTypes.cpp:26
gpr::geometry::ReactiveAtomTypes
Definition
ReactiveAtomTypes.h:29
gpr::geometry::ReactiveAtomTypes::reactive_atoms
std::vector< int > reactive_atoms
Definition
ReactiveAtomTypes.h:32
gpr::geometry::ReactiveAtomTypes::types
std::vector< Index_t > types
Definition
ReactiveAtomTypes.h:35
gpr::geometry::ReactiveAtomTypes::atomtypes
std::unordered_map< std::string, Index_t > atomtypes
Definition
ReactiveAtomTypes.h:38
gpr
auxiliary
ReactiveAtomTypes.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf