refactor: Add interface for PBH interpolators

This commit is contained in:
Lars Toenning
2024-01-09 22:42:09 +01:00
parent 3bc2d4062c
commit be2c756c8c
6 changed files with 47 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ namespace BlackMisc::Simulation
//! \private UNIT tests/ASSERT only
const PosArray &getPa() const { return m_pa; }
CInterpolatorLinearPbh pbh() const { return m_pbh; }
const IInterpolatorPbh &pbh() const { return m_pbh; }
private:
PosArray m_pa; //!< current positions array, latest values last