xnn.ffnn.models.amoeba_ewald.stencil_potential#

xnn.ffnn.models.amoeba_ewald.stencil_potential(at, jac, st, hessian)#

The potential (N,), its Cartesian gradient (N, 3) and, with hessian, its Hessian (N, 3, 3) at the atoms, from the mesh potential at (N, p^3) at their stencil points.

Parameters:
Return type:

Tuple[Tensor, Tensor, Tensor | None]