seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
Loading...
Searching...
No Matches
science_front.hpp File Reference

Layer profiles and the single-trajectory critical size. More...

#include <mol_sys.hpp>
#include <cstdint>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  science::Front
struct  science::LayerRow
struct  science::Layers
struct  science::SlopeInterval
struct  science::CriticalSize
struct  science::ClusterPart
struct  science::NucleusFrame
struct  science::AtomRow

Namespaces

namespace  science

Functions

Layers science::fitSolidFraction (const std::vector< double > &phi, const std::vector< double > &mid, double span)
Layers science::layersOf (const molSys::PointCloud< molSys::Point< double >, double > &cloud, int axis=-1, double binWidth=1.0)
SlopeInterval science::bootstrapSlope (const std::vector< double > &x, const std::vector< double > &y, int nDraw, std::uint64_t seed)
CriticalSize science::criticalSize (const std::vector< double > &series, int nDraw, std::uint64_t seed)
 Critical size of one cluster-size series. See the file comment.
NucleusFrame science::nucleusOf (molSys::PointCloud< molSys::Point< double >, double > &cloud, int frame, double q6Cut=kQ6BarIceCut)
 One frame. The published CHILL+ label is left on the cloud.
std::vector< AtomRow > science::labelAtoms (molSys::PointCloud< molSys::Point< double >, double > cloud, double q6Cut=kQ6BarIceCut)

Variables

constexpr double science::kCutoffA = 3.5
 Published CHILL+ cutoff, in angstrom. Not a fitted parameter.
constexpr double science::kQ6BarIceCut = 0.36

Detailed Description

Layer profiles and the single-trajectory critical size.

CHILL+ is the published Nguyen and Molinero rule (J. Phys. Chem. B 119, 9369, 2015): q3 over the four nearest neighbours, a crystal row of four neighbours inside the cutoff, and the interfacial neighbour test in Table 1. The OVITO rule is applied separately and is not used to choose these labels. The shell label is the second-shell template: 0 hexagonal, 1 cubic, 2 stacking-disordered, and -1 otherwise. q6-bar is the Lechner-Dellago average on the same 3.5 A cutoff. None of these thresholds is fitted.

The critical size on one spontaneous trajectory is the mean size of the largest cluster in the contiguous band around its minimum. The band stops where the size exceeds that minimum by the larger of 5 molecules and 15 percent. The interval is a percentile bootstrap of that mean. A minimum in the first two frames, followed by a larger cluster, is an upper bound: the dump does not contain a smaller nucleus. It is not a committor.

Definition in file science_front.hpp.