GPRidge v1.0.0
GPR-accelerated saddle point searches on potential energy surfaces
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
CutoffNeighbors.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// Copyright (c) gpridge developers
3
// See LICENSE for details.
4
5
#ifndef GPR_AUXILIARY_CUTOFFNEIGHBORS_H_
6
#define GPR_AUXILIARY_CUTOFFNEIGHBORS_H_
7
8
#include <array>
9
#include <cstddef>
10
#include <vector>
11
12
namespace
gpr::geometry
{
13
14
struct
CutoffPair
{
15
std::size_t
first
;
16
std::size_t
second
;
17
std::array<int, 3>
shift
;
18
};
19
26
std::vector<CutoffPair>
cutoffNeighbors
(
const
double
* positions,
27
std::size_t count,
28
const
std::array<double, 9>& cell,
29
const
std::array<bool, 3>& periodic,
30
double
cutoff);
31
32
}
// namespace gpr::geometry
33
34
#endif
// GPR_AUXILIARY_CUTOFFNEIGHBORS_H_
gpr::geometry
Definition
CorderoRadii.h:9
gpr::geometry::cutoffNeighbors
std::vector< CutoffPair > cutoffNeighbors(const double *positions, std::size_t count, const std::array< double, 9 > &cell, const std::array< bool, 3 > &periodic, double cutoff)
Definition
CutoffNeighbors.cpp:16
gpr::geometry::CutoffPair
Definition
CutoffNeighbors.h:14
gpr::geometry::CutoffPair::first
std::size_t first
Definition
CutoffNeighbors.h:15
gpr::geometry::CutoffPair::shift
std::array< int, 3 > shift
Definition
CutoffNeighbors.h:17
gpr::geometry::CutoffPair::second
std::size_t second
Definition
CutoffNeighbors.h:16
gpr
auxiliary
CutoffNeighbors.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf