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

Classes

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

Functions

Layers fitSolidFraction (const std::vector< double > &phi, const std::vector< double > &mid, double span)
Layers layersOf (const molSys::PointCloud< molSys::Point< double >, double > &cloud, int axis=-1, double binWidth=1.0)
SlopeInterval bootstrapSlope (const std::vector< double > &x, const std::vector< double > &y, int nDraw, std::uint64_t seed)
CriticalSize criticalSize (const std::vector< double > &series, int nDraw, std::uint64_t seed)
 Critical size of one cluster-size series. See the file comment.
NucleusFrame 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 > labelAtoms (molSys::PointCloud< molSys::Point< double >, double > cloud, double q6Cut=kQ6BarIceCut)

Variables

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

Function Documentation

◆ bootstrapSlope()

SlopeInterval science::bootstrapSlope ( const std::vector< double > & x,
const std::vector< double > & y,
int nDraw,
std::uint64_t seed )
nodiscard

Ordinary-least-squares slope, with a percentile bootstrap. A draw whose x values have no spread is dropped.

◆ criticalSize()

CriticalSize science::criticalSize ( const std::vector< double > & series,
int nDraw,
std::uint64_t seed )
nodiscard

Critical size of one cluster-size series. See the file comment.

◆ fitSolidFraction()

Layers science::fitSolidFraction ( const std::vector< double > & phi,
const std::vector< double > & mid,
double span )
nodiscard

10-90 fronts of a binned solid fraction. span is the axis length. A flat crystal, with no fall through 0.5, is undefined.

◆ labelAtoms()

std::vector< AtomRow > science::labelAtoms ( molSys::PointCloud< molSys::Point< double >, double > cloud,
double q6Cut = kQ6BarIceCut )
nodiscard

Per-molecule labels. inExtended marks the largest CHILL+ cluster of cubic, hexagonal and interfacial molecules.

◆ layersOf()

Layers science::layersOf ( const molSys::PointCloud< molSys::Point< double >, double > & cloud,
int axis = -1,
double binWidth = 1.0 )
nodiscard

CHILL+, the shell label and q6 binned along axis (0, 1 or 2). A negative axis uses the longest box edge.

◆ nucleusOf()

NucleusFrame science::nucleusOf ( molSys::PointCloud< molSys::Point< double >, double > & cloud,
int frame,
double q6Cut = kQ6BarIceCut )
nodiscard

One frame. The published CHILL+ label is left on the cloud.

Variable Documentation

◆ kCutoffA

double science::kCutoffA = 3.5
inlineconstexpr

Published CHILL+ cutoff, in angstrom. Not a fitted parameter.

Definition at line 44 of file science_front.hpp.

◆ kQ6BarIceCut

double science::kQ6BarIceCut = 0.36
inlineconstexpr

Lechner-Dellago q6-bar ice cut used for the cluster mask. The same gap as the nucleation census, not refitted here.

Definition at line 48 of file science_front.hpp.