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

In-situ measurements at a planar ice/brine front. More...

#include <mol_sys.hpp>
#include <site.hpp>
#include <vector>

Go to the source code of this file.

Classes

struct  site::ConcentrationBin
struct  site::ConcentrationProfile
struct  site::FrontPair
 Two planar fronts of one ice slab in a periodic box. More...
struct  site::RejectionCoefficient
 k = c_ice / c_liquid, both molalities of formula units. More...
struct  site::LinearFit
struct  site::BrinePocket
struct  site::PocketCensus
struct  site::FrontLayerReport
 Waters within halfWidth of either front, their primitive-ring census, and the coordination defects (a water whose oxygen neighbour count is not 4). More...
struct  site::TrapEvent
struct  site::FrontOptions
struct  site::FrontSnapshot

Namespaces

namespace  site

Functions

ConcentrationProfile site::concentrationProfile (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const std::vector< bool > &iceFlag, const std::vector< int > &waterIndices, const std::vector< int > &ionIndices, int nBins, int axis=2, int ionsPerFormula=2)
FrontPair site::locateFronts (const ConcentrationProfile &profile, double cut=0.5)
RejectionCoefficient site::rejectionCoefficient (const ConcentrationProfile &profile, double bulkIce=0.85, double bulkLiquid=0.15)
LinearFit site::linearFit (const std::vector< double > &time, const std::vector< double > &value)
PocketCensus site::brinePockets (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const std::vector< bool > &iceFlag, const std::vector< int > &waterIndices, const std::vector< int > &ionIndices, double cutoff)
FrontLayerReport site::frontLayer (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const std::vector< int > &waterIndices, const FrontPair &fronts, double halfWidth, double cutoff, int maxRing, int axis=2)
std::vector< TrapEvent > site::trappingTransitions (const IonEnvironment &before, const IonEnvironment &after)
 A trapping event is a change of IonState into ice.
FrontSnapshot site::analyseFront (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const std::vector< bool > &iceFlag, const std::vector< int > &waterIndices, const std::vector< int > &ionIndices, const FrontOptions &options={})

Variables

constexpr double site::kWaterMolarMassKg = 0.01801528

Detailed Description

In-situ measurements at a planar ice/brine front.

The ice label is an input. CHILL+ (or any other classifier) stays outside these functions, so a synthetic slab tests the arithmetic without a trajectory. Lengths are the cloud's length unit.

Definition in file brine_front.hpp.