d-SEAMS
Install
Output
Methods
Docs
Engine & CLI
Python
Rust
Julia
R
Lua / Fennel
Fortran
PLUMED
linkcell
Wiki
Cite
GitHub
seams-core
v2.14.0
libyodaLib, the C++ engine of d-SEAMS
Toggle main menu visibility
Loading...
Searching...
No Matches
chill_plus_scheme.hpp
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------------
2
// d-SEAMS - Deferred Structural Elucidation Analysis for Molecular Simulations
3
//
4
// Copyright (c) d-SEAMS developers
5
//
6
// This program is free software: you can redistribute it and/or modify
7
// it under the terms of the MIT License as published by
8
// the Open Source Initiative.
9
//
10
// A copy of the MIT License is included in the LICENSE file of this repository.
11
// You should have received a copy of the MIT License along with this program.
12
// If not, see <https://opensource.org/licenses/MIT>.
13
//-----------------------------------------------------------------------------------
14
15
#ifndef SEAMS_CHILL_PLUS_SCHEME_H_
16
#define SEAMS_CHILL_PLUS_SCHEME_H_
17
18
#include <
mol_sys.hpp
>
19
20
#include <stdexcept>
21
#include <string>
22
#include <string_view>
23
#include <vector>
24
40
41
namespace
chill
{
42
43
enum class
ChillPlusRule
{
Published
,
Ovito
};
44
47
[[nodiscard]]
int
cutoffShellCount
(
48
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud,
49
const
std::vector<std::vector<int>> &nList,
int
iatom);
50
54
[[nodiscard]]
ChillPlusRule
chillPlusRule
(std::string_view spec);
55
59
[[nodiscard]]
ChillPlusRule
chillPlusRuleFromFile
(
const
std::string &spec);
60
61
[[nodiscard]]
const
char
*
chillPlusRuleName
(
ChillPlusRule
rule);
62
65
void
applyChillPlus
(
66
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud,
67
const
std::vector<std::vector<int>> &nList,
ChillPlusRule
rule,
68
bool
isSlice =
false
);
69
70
}
// namespace chill
71
72
#endif
mol_sys.hpp
The main molecular system handler.
chill
CHILL and CHILL+ structure classification.
Definition
bop.hpp:137
chill::chillPlusRuleName
const char * chillPlusRuleName(ChillPlusRule rule)
chill::chillPlusRuleFromFile
ChillPlusRule chillPlusRuleFromFile(const std::string &spec)
chill::ChillPlusRule
ChillPlusRule
Definition
chill_plus_scheme.hpp:43
chill::ChillPlusRule::Published
@ Published
Definition
chill_plus_scheme.hpp:43
chill::ChillPlusRule::Ovito
@ Ovito
Definition
chill_plus_scheme.hpp:43
chill::chillPlusRule
BondClassifier chillPlusRule()
chill::applyChillPlus
void applyChillPlus(molSys::PointCloud< molSys::Point< double >, double > &yCloud, const std::vector< std::vector< int > > &nList, ChillPlusRule rule, bool isSlice=false)
chill::cutoffShellCount
int cutoffShellCount(const molSys::PointCloud< molSys::Point< double >, double > &yCloud, const std::vector< std::vector< int > > &nList, int iatom)
molSys::PointCloud
This contains a collection of points; contains information for a particular frame.
Definition
mol_sys.hpp:173
molSys::Point
This contains per-particle information.
Definition
mol_sys.hpp:152
src
include
internal
chill_plus_scheme.hpp