seams-core v2.6.0
libyodaLib, the C++ engine of d-SEAMS
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
phase.hpp
Go to the documentation of this file.
1
#ifndef SEAMS_PHASE_H_
2
#define SEAMS_PHASE_H_
3
4
#include <
mol_sys.hpp
>
5
6
#include <array>
7
#include <cstdint>
8
#include <string>
9
#include <vector>
10
11
namespace
phase
{
12
13
enum class
GlassKind
{
other
= 0,
ice
,
lda
,
mda
,
hda
};
14
16
int
openChannelCount
(
17
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud,
18
const
std::vector<std::vector<int>> &nList);
19
21
std::uint64_t
protonKey
(
22
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud,
23
int
oxygenType,
int
hydrogenType);
24
26
double
hydrogenMSD
(
27
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &frame0,
28
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &frame1,
29
int
hydrogenType);
30
36
struct
IceXXIHit
{
37
bool
match
=
false
;
38
int
nSites
= 0;
39
int
nSix
= 0;
40
double
a
= 0.0;
41
double
c
= 0.0;
42
double
density
= 0.0;
43
double
meanCoord
= 0.0;
44
};
45
46
IceXXIHit
iceXXILibrary
(
47
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud);
48
50
std::vector<double>
localDensity
(
51
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud,
52
double
rcut);
53
55
double
frameDensity
(
56
const
molSys::PointCloud
<
molSys::Point<double>
,
double
> &yCloud);
57
61
GlassKind
glassFromDensity
(
double
rho,
double
iceMax,
double
ldaMax,
62
double
mdaMin);
63
65
GlassKind
glassFromDensity
(
double
rho,
double
iceMax,
double
mdaMin);
66
69
GlassKind
glassFromDensity
(
double
rho);
70
71
}
// namespace phase
72
73
#endif
mol_sys.hpp
The main molecular system handler.
match
Definition
shapeMatch.hpp:36
phase
Definition
phase.hpp:11
phase::glassFromDensity
GlassKind glassFromDensity(double rho, double iceMax, double ldaMax, double mdaMin)
phase::protonKey
std::uint64_t protonKey(const molSys::PointCloud< molSys::Point< double >, double > &yCloud, int oxygenType, int hydrogenType)
64-bit key of donated H directions per oxygen (molID-shared hydrogens).
phase::GlassKind
GlassKind
Definition
phase.hpp:13
phase::GlassKind::hda
@ hda
Definition
phase.hpp:13
phase::GlassKind::other
@ other
Definition
phase.hpp:13
phase::GlassKind::ice
@ ice
Definition
phase.hpp:13
phase::GlassKind::mda
@ mda
Definition
phase.hpp:13
phase::GlassKind::lda
@ lda
Definition
phase.hpp:13
phase::localDensity
std::vector< double > localDensity(const molSys::PointCloud< molSys::Point< double >, double > &yCloud, double rcut)
Local number density (1/A^3) in a sphere of radius rcut.
phase::frameDensity
double frameDensity(const molSys::PointCloud< molSys::Point< double >, double > &yCloud)
Bulk mass density in g/cm^3 from nop and the box (18.015 g/mol).
phase::openChannelCount
int openChannelCount(const molSys::PointCloud< molSys::Point< double >, double > &yCloud, const std::vector< std::vector< int > > &nList)
Open hexagonal channel along z: six-rings stacked, not a closed 512.
phase::iceXXILibrary
IceXXIHit iceXXILibrary(const molSys::PointCloud< molSys::Point< double >, double > &yCloud)
phase::hydrogenMSD
double hydrogenMSD(const molSys::PointCloud< molSys::Point< double >, double > &frame0, const molSys::PointCloud< molSys::Point< double >, double > &frame1, int hydrogenType)
Mean squared displacement of hydrogenType between two frames.
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
phase::IceXXIHit
Definition
phase.hpp:36
phase::IceXXIHit::c
double c
Definition
phase.hpp:41
phase::IceXXIHit::nSites
int nSites
Definition
phase.hpp:38
phase::IceXXIHit::nSix
int nSix
Definition
phase.hpp:39
phase::IceXXIHit::a
double a
Definition
phase.hpp:40
phase::IceXXIHit::density
double density
Definition
phase.hpp:42
phase::IceXXIHit::meanCoord
double meanCoord
Definition
phase.hpp:43
src
include
internal
phase.hpp
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf