xnn.ffnn.models.amoeba_ewald.mesh_influence_jacobian#

xnn.ffnn.models.amoeba_ewald.mesh_influence_jacobian(cells, mesh, order, alpha, kind)[source]#

mesh_influence() of the cells (G, 3, 3) and its derivative with respect to the nine entries of every structure’s cell, (9, G, K_1, K_2, K_3 // 2 + 1), in closed form: the function depends on the cell h through the volume and the squared wave vectors, with d k^2 / d h_ab = -2 k_b (k h^-1)_a and d (1 / V) / d h_ab = -(h^-1)_ba / V; its derivative with respect to k^2 is elementwise (_influence_slope()). Elementwise and broadcast operations only: no matrix product, whose library workspace a later graph recording would release.

Parameters:
Return type:

tuple