mortele / variational-monte-carlo-fys4411

Example class structure for use in FYS4411: Quantum mechanical systems at UiO.
https://www.uio.no/studier/emner/matnat/fys/FYS4411/
The Unlicense
13 stars 31 forks source link

Return a reference to position #15

Closed Schoyen closed 1 year ago

Schoyen commented 1 year ago

The getPosition-function in Particle returned a copy of the position-vector. I have now made the class return a reference to the positions.