xnn.ffnn.models.amoeba_ewald.mesh_convolve#

xnn.ffnn.models.amoeba_ewald.mesh_convolve(coeff, flat, influence, groups, mesh)[source]#

Spread the stencil coefficients (N, p^3) onto the groups meshes at the indices flat (mesh_layout()), apply the influence function and return the mesh potential at the stencil points.

Parameters:
Return type:

Tensor