Function deepmd::detail::pair_kept

Function deepmd::detail::pair_kept#

Function Documentation#

inline bool deepmd::detail::pair_kept(const int *keep_table, const std::int64_t *atype, const std::int64_t source_node, const std::int64_t center, const int ntypes)#

Return whether a type pair is kept, given a flat keep table or none.