Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::physics::detail Namespace Reference

Classes

struct  ElementData
 Internal structure to hold element-specific physical data. More...

Functions

constexpr const ElementData * find (std::string_view symbol) noexcept
 Searches for an element by its symbol in the static database.

Variables

constexpr std::array< ElementData, 98 > DATABASE

Function Documentation

◆ find()

const ElementData * correlation::physics::detail::find ( std::string_view symbol)
constexprnoexcept

Searches for an element by its symbol in the static database.

Parameters
symbolThe chemical symbol to look for.
Returns
Pointer to ElementData if found, nullptr otherwise.
Here is the caller graph for this function:

Variable Documentation

◆ DATABASE

std::array<ElementData, 98> correlation::physics::detail::DATABASE
inlineconstexpr