QuaCaTeam / quaca

QuaCa is an open-source library which provides fast calculations of nonequilibrium atom-surface interactions.
https://quacateam.github.io/quaca/
MIT License
3 stars 2 forks source link

Consistent scheme for shared_ptr getter functios #28

Closed SiMaHer closed 4 years ago

SiMaHer commented 4 years ago

So far there is not a consistent scheme for shared_ptr getter functions (compare e.g. PowerSpectrum and Polarizability)

chegerland commented 4 years ago

We want to always return a shared_ptr, not a shared_ptr reference as in the power spectrum. (btw: this issue was already on our project board in the backburner "Correct smart pointer getter")