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

Water-oxygen selection for a mixed frame. More...

Classes

struct  Request
struct  Selection
struct  IonSite
struct  IonReport

Enumerations

enum class  MolMode { None , Ids , Water }

Functions

bool hasMultiAtomMolecule (const molSys::PointCloud< molSys::Point< double >, double > &cloud)
Selection selectOxygens (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const Request &request)
molSys::PointCloud< molSys::Point< double >, double > subsetCloud (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const Selection &selection)
molSys::PointCloud< molSys::Point< double >, double > keepHistoricalOxygen (const molSys::PointCloud< molSys::Point< double >, double > &cloud)
 Historical dump guess: type 2 when any atom has it, otherwise type 1.
std::vector< IonSite > collectIons (const molSys::PointCloud< molSys::Point< double >, double > &cloud, const Selection &selection)
IonReport ionFront (const molSys::PointCloud< molSys::Point< double >, double > &oxygen, const std::vector< IonSite > &ions)
 oxygen is the labeled water subset.
bool iceLabel (molSys::atom_state_type label)

Detailed Description

Water-oxygen selection for a mixed frame.

Neighbours, CHILL, CHILL+, rings and cages run on the oxygen atoms. Ions and hydrogens stay out of that graph. A requested type or molecule that is not in the frame is an error, as is a selection that keeps nothing. The messages are the strings the tests match.

Enumeration Type Documentation

◆ MolMode

enum class water::MolMode
strong
Enumerator
None 
Ids 
Water 

Definition at line 21 of file water_select.hpp.

Function Documentation

◆ collectIons()

std::vector< IonSite > water::collectIons ( const molSys::PointCloud< molSys::Point< double >, double > & cloud,
const Selection & selection )

◆ hasMultiAtomMolecule()

bool water::hasMultiAtomMolecule ( const molSys::PointCloud< molSys::Point< double >, double > & cloud)

◆ iceLabel()

bool water::iceLabel ( molSys::atom_state_type label)

◆ ionFront()

IonReport water::ionFront ( const molSys::PointCloud< molSys::Point< double >, double > & oxygen,
const std::vector< IonSite > & ions )

oxygen is the labeled water subset.

front is the nearest ice oxygen, in the box units, or -1 when no ion sits next to ice.

◆ keepHistoricalOxygen()

molSys::PointCloud< molSys::Point< double >, double > water::keepHistoricalOxygen ( const molSys::PointCloud< molSys::Point< double >, double > & cloud)

Historical dump guess: type 2 when any atom has it, otherwise type 1.

A miss leaves an empty cloud and keeps the box.

◆ selectOxygens()

Selection water::selectOxygens ( const molSys::PointCloud< molSys::Point< double >, double > & cloud,
const Request & request )

◆ subsetCloud()

molSys::PointCloud< molSys::Point< double >, double > water::subsetCloud ( const molSys::PointCloud< molSys::Point< double >, double > & cloud,
const Selection & selection )