|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Domain engine responsible for computing, validating, and querying chemical bond cutoffs. More...
#include <BondCutoffEngine.hpp>
Static Public Member Functions | |
| static correlation::analysis::BondCutoffMatrix | compute (std::span< const Element > elements) |
| Pre-calculates the squared bond cutoff distances for every pair of chemical elements. | |
| static correlation::analysis::BondCutoffMatrix | compute (const Cell &cell) |
| Pre-calculates the bond cutoff matrix from the elements present in a Cell. | |
| static void | validate (const correlation::analysis::BondCutoffMatrix &cutoffs) |
| Validates a bond cutoff matrix against domain bounds. | |
| static const correlation::analysis::BondCutoffRange & | getBondCutoffRange (const correlation::analysis::BondCutoffMatrix &cutoffs, size_t type1, size_t type2) |
| Gets the bond cutoff range for two given element type indices. | |
| static real_t | getBondCutoffSQ (const correlation::analysis::BondCutoffMatrix &cutoffs, size_t type1, size_t type2) |
| Gets the maximum squared bond cutoff distance for two given element types. | |
| static real_t | getMinBondCutoffSQ (const correlation::analysis::BondCutoffMatrix &cutoffs, size_t type1, size_t type2) |
| Gets the minimum squared bond cutoff distance for two given element types. | |
| static real_t | getBondCutoff (const correlation::analysis::BondCutoffMatrix &cutoffs, size_t type1, size_t type2) |
| Gets the maximum bond cutoff distance for two given element types. | |
| static real_t | getMinBondCutoff (const correlation::analysis::BondCutoffMatrix &cutoffs, size_t type1, size_t type2) |
| Gets the minimum bond cutoff distance for two given element types. | |
Domain engine responsible for computing, validating, and querying chemical bond cutoffs.
|
staticnodiscard |
Pre-calculates the bond cutoff matrix from the elements present in a Cell.
| [in] | cell | The structure containing unique chemical elements. |

|
staticnodiscard |
Pre-calculates the squared bond cutoff distances for every pair of chemical elements.
| [in] | elements | List or span of unique chemical elements. |


|
staticnodiscard |
Gets the maximum bond cutoff distance for two given element types.
| [in] | cutoffs | Matrix of bond cutoff ranges. |
| [in] | type1 | ID of first element type. |
| [in] | type2 | ID of second element type. |


|
staticnodiscard |
Gets the bond cutoff range for two given element type indices.
| [in] | cutoffs | Matrix of bond cutoff ranges. |
| [in] | type1 | ID of first element type. |
| [in] | type2 | ID of second element type. |


|
staticnodiscard |
Gets the maximum squared bond cutoff distance for two given element types.
| [in] | cutoffs | Matrix of bond cutoff ranges. |
| [in] | type1 | ID of first element type. |
| [in] | type2 | ID of second element type. |


|
staticnodiscard |
Gets the minimum bond cutoff distance for two given element types.
| [in] | cutoffs | Matrix of bond cutoff ranges. |
| [in] | type1 | ID of first element type. |
| [in] | type2 | ID of second element type. |


|
staticnodiscard |
Gets the minimum squared bond cutoff distance for two given element types.
| [in] | cutoffs | Matrix of bond cutoff ranges. |
| [in] | type1 | ID of first element type. |
| [in] | type2 | ID of second element type. |


|
static |
Validates a bond cutoff matrix against domain bounds.
| [in] | cutoffs | Matrix of bond cutoff ranges to inspect. |
| std::invalid_argument | If any cutoff bound is negative or min_sq > max_sq. |
