|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Stateless transformation service mapping atomic elements to cutoff configurations. More...
#include <BondCutoffMapper.hpp>
Static Public Member Functions | |
| static std::vector< CutoffEntry > | createDefaultCutoffEntries (std::span< const correlation::core::Element > elements) |
| Generates default covalent cutoff entries for a collection of elements. | |
| 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. | |
Static Private Member Functions | |
| static real_t | parseDistanceSafe (const std::string &str) |
| Safely parses a distance string to real_t with a zero fallback. | |
| 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. | |
Stateless transformation service mapping atomic elements to cutoff configurations.
|
staticnodiscard |
Generates default covalent cutoff entries for a collection of elements.
| [in] | elements | Collection of unique elements in the system. |


|
staticnodiscardprivate |
Finds the index of an element symbol within an element span.
| [in] | elements | Collection of elements. |
| [in] | symbol | Symbol to look up. |

|
staticnodiscard |
Parses and validates cutoff entries into a symmetric BondCutoffMatrix.
| [in] | entries | Collection of cutoff entries to parse. |
| [in] | elements | Collection of elements defining matrix dimension and index order. |


|
staticnodiscardprivate |
Safely parses a distance string to real_t with a zero fallback.
| [in] | str | Distance string to parse. |
