Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mcwitt committed Mar 4, 2022
1 parent 1808855 commit cf9a360
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions timemachine/cpp/src/nonbonded_all_pairs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,18 @@ template <typename RealType, bool Interpolated> class NonbondedAllPairs : public
double *d_w_; // 4D coordinates
double *d_dw_dl_;

// "sorted" means
// - if hilbert sorting enabled, atoms are sorted according to the
// hilbert curve index
// - otherwise, atom ordering is preserved with respect to input
// "gathered" arrays represent the subset of atoms specified by
// atom_idxs (if the latter is specified, otherwise all atoms).
//
// If hilbert sorting is enabled, "gathered" arrays are sorted by
// hilbert curve index; otherwise, the ordering is that specified
// by atom_idxs (or the input ordering, if atom_idxs is not
// specified)
unsigned int *d_sorted_atom_idxs_; // [K_] indices of interacting atoms, sorted by hilbert curve index
double *d_gathered_x_; // sorted coordinates
double *d_gathered_w_; // sorted 4D coordinates
double *d_gathered_x_; // sorted coordinates for subset of atoms
double *d_gathered_w_; // sorted 4D coordinates for subset of atoms
double *d_gathered_dw_dl_;
double *d_gathered_p_; // sorted parameters
double *d_gathered_p_; // sorted parameters for subset of atoms
double *d_gathered_dp_dl_;
unsigned long long *d_gathered_du_dx_;
unsigned long long *d_gathered_du_dp_;
Expand Down

0 comments on commit cf9a360

Please sign in to comment.