Skip to content

Commit

Permalink
publicly expose Engine::compute2_ptrs()
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 14, 2021
1 parent 0649f86 commit f5b55fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/libint2/engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -955,11 +955,14 @@ class Engine {
const Shell& s2, size_t p1,
size_t p2, size_t oset);

public:
/// 3-dim array of pointers to help dispatch efficiently based on oper_,
/// braket_, and deriv_order_
/// @note public since 2.7.0 to support efficient dispatch in user code
__libint2_engine_inline const std::vector<Engine::compute2_ptr_type>&
compute2_ptrs() const;

private:
// max_nprim=0 avoids resizing primdata_
__libint2_engine_inline void initialize(size_t max_nprim = 0);
// generic _initializer
Expand Down

0 comments on commit f5b55fc

Please sign in to comment.