gpe_aabb

alternate LJ energy sum using a prebuilt Freud AABB query object.

compute.gpe_aabb(grid_points, aabb_object, forcefield_mixed, cutoff)

Sum Lennard-Jones energies at grid points via Freud ball query on a prebuilt AABB neighbor search.

Parameters

Name Type Description Default
grid_points The grid_points parameter in the gpe_aabb function represents the coordinates of points in a grid. These points are used for calculations involving a AABB (Axis-Aligned Bounding Box) object, a force field, and a specified cutoff distance. The function calculates Lennard-J required
aabb_object The function gpe_aabb you provided seems to calculate the Lennard-Jones potentials for a set of grid points based on an axis-aligned bounding box (AABB) object, a force field, and a cutoff distance required
forcefield_mixed The forcefield_mixed parameter in the gpe_aabb function seems to represent a mixed force field containing interaction parameters for each pair of particles. The function calculates Lennard-Jones potentials between grid points and their neighboring particles based on these interaction parameters required
cutoff The cutoff parameter in the gpe_aabb function represents the maximum distance within which interactions between grid points and AABB (Axis-Aligned Bounding Box) objects will be considered. Any interactions beyond this distance will not be included in the calculations required

Returns

Name Type Description
The function gpe_aabb returns an array v containing the Lennard-Jones potentials calculated for each grid point based on the provided input parameters grid_points, aabb_object, forcefield_mixed, and cutoff.