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

Classes

struct  Front
struct  Profile
struct  Bin
struct  Study
struct  GrowthFrame
struct  Growth
struct  BootstrapInterval
struct  WillardChandler

Enumerations

enum class  Cause {
  agree = 0 , neighbour = 1 , q3Shell = 2 , openEdge = 3 ,
  mixed = 4
}
enum class  Kind { slab = 0 , nucleus = 1 }

Functions

Study studyCloud (molSys::PointCloud< molSys::Point< double >, double > cloud, double cutoff=3.5, double binWidth=1.0, bool census=true)
Study studyDump (const std::string &path, int frame, double cutoff=3.5, double binWidth=1.0, bool census=true)
std::string formatStudy (const Study &study, const std::string &tag)
double slope (const std::vector< double > &x, const std::vector< double > &y)
 Ordinary least squares slope. Empty or a single point returns 0.
Growth studyTrajectory (const std::string &path, double dumpEveryPs, double cutoff=3.5)
 Every frame of a dump. time of frame i is (i - 1) * dumpEveryPs.
std::string formatGrowth (const Growth &growth)
std::string formatQ6Growth (const std::string &path, double dumpEveryPs, double cutoff=3.5)
molSys::PointCloud< molSys::Point< double >, double > nanotube (int ring, int stacks, double bond=2.75)
molSys::PointCloud< molSys::Point< double >, double > honeycombSheet (int nx, int ny, int layers, double bond=2.75)
double gaussianStepWidth (double xi)
BootstrapInterval bootstrapMean (const std::vector< double > &samples, int nDraw, std::uint64_t seed)
 Percentile bootstrap of the mean. nDraw samples with replacement.
BootstrapInterval pairedDifference (const std::vector< double > &a, const std::vector< double > &b, int nDraw, std::uint64_t seed)
 Mean of a[i] - b[i], resampled by shared index.
WillardChandler willardChandler (molSys::PointCloud< molSys::Point< double >, double > cloud, double xi=2.4)
std::string formatWillardChandler (const WillardChandler &surface)

Enumeration Type Documentation

◆ Cause

enum class iface::Cause
strong
Enumerator
agree 
neighbour 
q3Shell 
openEdge 
mixed 

Definition at line 47 of file interface_order.hpp.

47{ agree = 0, neighbour = 1, q3Shell = 2, openEdge = 3, mixed = 4 };
@ mixed
Type for an atom which is part of a mixed ring, shared by both a DDC and an HC.
Definition cage.hpp:107

◆ Kind

enum class iface::Kind
strong
Enumerator
slab 
nucleus 

Definition at line 49 of file interface_order.hpp.

Function Documentation

◆ bootstrapMean()

BootstrapInterval iface::bootstrapMean ( const std::vector< double > & samples,
int nDraw,
std::uint64_t seed )
nodiscard

Percentile bootstrap of the mean. nDraw samples with replacement.

◆ formatGrowth()

std::string iface::formatGrowth ( const Growth & growth)
nodiscard

◆ formatQ6Growth()

std::string iface::formatQ6Growth ( const std::string & path,
double dumpEveryPs,
double cutoff = 3.5 )
nodiscard

Lechner-Dellago q6 on the 3.5 A shell, the counting rule in Espinosa, Navarro, Sanz, Valeriani and Vega, J. Chem. Phys. 145, 211922 (2016), page 211922-3. The threshold is not fitted. The report is the fraction of molecules at or above each listed q6bar and local q6, plus the frame-1 histogram of the ice core and the liquid core.

◆ formatStudy()

std::string iface::formatStudy ( const Study & study,
const std::string & tag )
nodiscard

◆ formatWillardChandler()

std::string iface::formatWillardChandler ( const WillardChandler & surface)
nodiscard

◆ gaussianStepWidth()

double iface::gaussianStepWidth ( double xi)
nodiscard

10-90 width of a step smoothed by a Gaussian of standard deviation xi. The profile is the normal cdf, so the width is 2 * 1.2815515655446004 * xi.

◆ honeycombSheet()

molSys::PointCloud< molSys::Point< double >, double > iface::honeycombSheet ( int nx,
int ny,
int layers,
double bond = 2.75 )
nodiscard

◆ nanotube()

molSys::PointCloud< molSys::Point< double >, double > iface::nanotube ( int ring,
int stacks,
double bond = 2.75 )
nodiscard

Ideal oxygen frameworks at a nearest-neighbour distance of bond. The box is orthorhombic and large enough that a 3.5 A shell does not see a lateral image.

◆ pairedDifference()

BootstrapInterval iface::pairedDifference ( const std::vector< double > & a,
const std::vector< double > & b,
int nDraw,
std::uint64_t seed )
nodiscard

Mean of a[i] - b[i], resampled by shared index.

◆ slope()

double iface::slope ( const std::vector< double > & x,
const std::vector< double > & y )
nodiscard

Ordinary least squares slope. Empty or a single point returns 0.

◆ studyCloud()

Study iface::studyCloud ( molSys::PointCloud< molSys::Point< double >, double > cloud,
double cutoff = 3.5,
double binWidth = 1.0,
bool census = true )
nodiscard

Both rules, the ring census, and the interface or nucleus profile. Cutoff and bond thresholds stay at the published values. census false skips rings, sheets, diamond, CNA, q6 and the template. The CHILL+ labels and the thickness profile are unchanged.

◆ studyDump()

Study iface::studyDump ( const std::string & path,
int frame,
double cutoff = 3.5,
double binWidth = 1.0,
bool census = true )
nodiscard

◆ studyTrajectory()

Growth iface::studyTrajectory ( const std::string & path,
double dumpEveryPs,
double cutoff = 3.5 )
nodiscard

Every frame of a dump. time of frame i is (i - 1) * dumpEveryPs.

◆ willardChandler()

WillardChandler iface::willardChandler ( molSys::PointCloud< molSys::Point< double >, double > cloud,
double xi = 2.4 )
nodiscard

Instantaneous interface of Willard and Chandler, J. Phys. Chem. B 114, 1954 (2010). xi is their Gaussian width. The surface is the set of rays from the crystal center of mass on which the coarse density crosses the midpoint of the core and the outer liquid.