Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idx variants #160

Merged
merged 19 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions libdistopia/include/distopia.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ namespace distopia {
template <typename T> void CalcSelfDistanceArrayNoBox(const T *a, int n, T *out);
template <typename T> void CalcSelfDistanceArrayOrtho(const T *a, int n, const T *box, T *out);
template <typename T> void CalcSelfDistanceArrayTriclinic(const T *a, int n, const T *box, T *out);
template <typename T> void CalcBondsNoBoxIdx(const T *coords, const int *a_idx, const int *b_idx, int n, T *out);
template <typename T> void CalcBondsOrthoIdx(const T *coords, const int *a_idx, const int *b_idx, int n, const T *box, T *out);
template <typename T> void CalcBondsTriclinicIdx(const T *coords, const int *a_idx, const int *b_idx, int n, const T *box, T *out);
template <typename T> void CalcAnglesNoBoxIdx(const T *coords, const int *a_idx, const int *b_idx, const int *c_idx, int n, T *out);
template <typename T> void CalcAnglesOrthoIdx(const T *coords, const int *a_idx, const int *b_idx, const int *c_idx, int n, const T *box, T *out);
template <typename T> void CalcAnglesTriclinicIdx(const T *coords, const int *a_idx, const int *b_idx, const int *c_idx, int n, const T *box, T *out);
template <typename T> void CalcDihedralsNoBoxIdx(const T *coords, const int *a_idx, const int *b_idx, const int *c_idx, const int *d_idx, int n, T *out);
template <typename T> void CalcDihedralsOrthoIdx(const T *coords, const int *a_idx, const int *b_idx, const int *c_idx, const int *d_idx, int n, const T *box, T *out);
template <typename T> void CalcDihedralsTriclinicIdx(const T *coords, const int *a_idx, const int *b_idx, const int *c_idx, const int *d_idx, int n, const T *box, T *out);
template <typename T> void CalcDistanceArrayNoBoxIdx(const T *coords, const int *a_idx, const int *b_idx, int na, int nb, T *out);
template <typename T> void CalcDistanceArrayOrthoIdx(const T *coords, const int *a_idx, const int *b_idx, int na, int nb, const T *box, T *out);
template <typename T> void CalcDistanceArrayTriclinicIdx(const T *coords, const int *a_idx, const int *b_idx, int na, int nb, const T *box, T *out);
template <typename T> void CalcSelfDistanceArrayNoBoxIdx(const T *coords, const int *idx, int n, T *out);
template <typename T> void CalcSelfDistanceArrayOrthoIdx(const T *coords, const int *idx, int n, const T *box, T *out);
template <typename T> void CalcSelfDistanceArrayTriclinicIdx(const T *coords, const int *idx, int n, const T *box, T *out);
int GetNFloatLanes();
int GetNDoubleLanes();
std::vector<std::string> DistopiaSupportedAndGeneratedTargets();
Expand Down
Loading
Loading