42 [[nodiscard]]
static std::vector<CutoffEntry>
53 std::span<const correlation::core::Element> elements);
69 [[nodiscard]]
static int findElementIndex(std::span<const correlation::core::Element> elements,
70 const std::string &symbol);
Atom data structure and AtomID type definitions.
Contiguous 2D matrix of element-pair bond cutoff ranges.
Definition AnalysisTypes.hpp:48
Stateless transformation service mapping atomic elements to cutoff configurations.
Definition BondCutoffMapper.hpp:35
static real_t parseDistanceSafe(const std::string &str)
Safely parses a distance string to real_t with a zero fallback.
Definition BondCutoffMapper.cpp:17
static int findElementIndex(std::span< const correlation::core::Element > elements, const std::string &symbol)
Finds the index of an element symbol within an element span.
Definition BondCutoffMapper.cpp:25
static std::vector< CutoffEntry > createDefaultCutoffEntries(std::span< const correlation::core::Element > elements)
Generates default covalent cutoff entries for a collection of elements.
Definition BondCutoffMapper.cpp:36
static correlation::analysis::BondCutoffMatrix parseCutoffMatrix(std::span< const CutoffEntry > entries, std::span< const correlation::core::Element > elements)
Parses and validates cutoff entries into a symmetric BondCutoffMatrix.
Definition BondCutoffMapper.cpp:70
Definition AppController.hpp:27
double real_t
Definition Precision.hpp:18
Plain data representation of a bond cutoff pair decoupled from UI frameworks.
Definition BondCutoffMapper.hpp:24
std::string element2
Second element symbol.
Definition BondCutoffMapper.hpp:26
std::string min_distance
Minimum cutoff distance string.
Definition BondCutoffMapper.hpp:27
std::string max_distance
Maximum cutoff distance string.
Definition BondCutoffMapper.hpp:28
std::string element1
First element symbol.
Definition BondCutoffMapper.hpp:25