xnn.ffnn.models.amoeba_ewald.mesh_layout#
- xnn.ffnn.models.amoeba_ewald.mesh_layout(u, sizes, batch, mesh, order)[source]#
The spline stencils of atoms at the scaled fractional coordinates
u(N, 3)(sizesthe mesh dimensions as a tensor,batcheach atom’s structure): the per-axis weights and their first and second derivatives(N, 3, p), each stencil point’s index into the meshes of the group laid side by side(N, p^3), and the stencil starts(N, 3).