|
excgrid 0.1.0
Grid + XC-kernel + D3 library
|
Classes | |
| struct | excgrid::XcKernelValue |
| class | excgrid::XcFunctional |
Typedefs | |
| using | excgrid::LdaKernel = XcKernelValue (*)(double rhoA, double rhoB) |
| using | excgrid::GgaKernel |
Functions | |
| constexpr XcKernelValue | excgrid::operator+ (const XcKernelValue &a, const XcKernelValue &b) noexcept |
| constexpr XcKernelValue & | excgrid::operator+= (XcKernelValue &a, const XcKernelValue &b) noexcept |
| constexpr XcKernelValue | excgrid::operator* (double weight, const XcKernelValue &v) noexcept |
| constexpr XcKernelValue | excgrid::operator* (const XcKernelValue &v, double weight) noexcept |
| const XcFunctional * | excgrid::FindFunctional (std::string_view name) noexcept |
| std::span< const std::string_view > | excgrid::FunctionalNames () noexcept |
The frozen seam between excgrid's functionals and their consumers (docs/kernel-api.md is the governing contract; this header is its implementation). Units are Libxc's everywhere: densities in electrons/Bohr^3, sigma in Bohr^-8, energy densities in Hartree/Bohr^3, potentials in Hartree (vrho) and Hartree * Bohr^5 (vsigma).
| using excgrid::GgaKernel |
GGA kernel: additionally consumes the three sigma inputs and returns the three vsigma derivatives.
| using excgrid::LdaKernel = XcKernelValue (*)(double rhoA, double rhoB) |
LDA kernel: the energy density and its spin-density derivatives.
|
noexcept |
Resolves a functional by its shipped name (docs/kernel-api.md section 4); null when unknown. Name-string resolution, never an enum - enums drift with repo releases, the consumer's schema carries the string.
| name | The functional name. |
|
noexcept |
All shipped functional names, registry order.
|
constexprnoexcept |
Scalar weighting, mirrored order.
| v | The weighted value. |
| weight | The scalar weight. |
|
constexprnoexcept |
Scalar weighting - functional composition by * (hybrid recipes).
| weight | The scalar weight. |
| v | The weighted value. |
|
constexprnoexcept |
Componentwise addition - functional composition by +.
| a | The first summand. |
| b | The second summand. |
|
constexprnoexcept |
Componentwise accumulation.
| a | The accumulator (updated). |
| b | The addend. |