Provides structures and functions for handling atomic and material physical properties.
More...
|
| real_t | getCovalentRadius (std::string_view symbol) |
| | Retrieves the covalent radius of a given chemical element.
|
| constexpr std::optional< real_t > | findAtomicMass (std::string_view symbol) noexcept |
| | Retrieves the atomic mass of a given chemical element without throwing.
|
| real_t | getAtomicMass (std::string_view symbol) |
| | Retrieves the atomic mass of a given chemical element.
|
| const std::array< real_t, 9 > & | getAtomicFormFactors (std::string_view symbol) |
| | Retrieves the atomic form factors for a given chemical element.
|
Provides structures and functions for handling atomic and material physical properties.
| const std::array< real_t, 9 > & correlation::physics::getAtomicFormFactors |
( |
std::string_view | symbol | ) |
|
|
inline |
Retrieves the atomic form factors for a given chemical element.
The array contains 9 coefficients (a1, b1, a2, b2, a3, b3, a4, b4, c) based on the Cromer-Mann equation.
- Parameters
-
| symbol | The atomic symbol of the element. |
- Returns
- A 9-element array containing the form factor coefficients.
- Exceptions
-
| std::out_of_range | if the element symbol is not found in the database. |