|
excgrid 0.1.0
Grid + XC-kernel + D3 library
|
#include <kernel.hpp>
Public Member Functions | |
| virtual bool | UsesGradient () const =0 |
| virtual double | ExchangeFraction () const =0 |
| virtual XcKernelValue | Evaluate (double rhoA, double rhoB, double sigmaAa, double sigmaAb, double sigmaBb) const =0 |
A named, composed XC functional. The consumer evaluates one kernel call per grid point through this seam; hybrids are weighted sums of the generated kernels (see docs/kernel-api.md section 4 for the shipped recipes).
|
pure virtual |
One per-point evaluation. LDA kernels ignore the sigma inputs.
| rhoA | The alpha-spin density. |
| rhoB | The beta-spin density. |
| sigmaAa | grad(rhoA) . grad(rhoA). |
| sigmaAb | grad(rhoA) . grad(rhoB). |
| sigmaBb | grad(rhoB) . grad(rhoB). |
|
nodiscardpure virtual |
The exact-exchange fraction the consumer routes through its HF Fock path (0 for pure functionals, e.g. 0.20 for B3LYP).
|
nodiscardpure virtual |
Whether the kernel consumes the sigma inputs (GGA or beyond).