You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Systematic code quality pass over the wave class hierarchy.
Bugs/correctness: const WaveMode mode_ changed to static constexpr (fixes deleted assignment operators); CalculateWidthIRF() moved out of per-body loop; dead spectrum_ member removed; unsigned underflow fixed in get_lower_index; duplicate IRF time-max computation unified; uninitialized RegularWaveParams defaults added; silent cerr replaced
with exception.
Design: all virtual query methods made const (removes const_cast); WaveBase public data encapsulated behind const getters; AddH5Data SimulationParameters made const&; large-object getters return const&; copy/move deleted on WaveBase to prevent slicing; trailing underscores removed from param struct fields (Google style).
Style: kDofsPerBody named constant replaces magic 6; spectrumCreated_ renamed to snake_case; Eigen/Dense narrowed to Eigen/Core; C-style casts replaced with static_cast; time_data_ demoted from member to local.
All 25 regression tests pass.
0 commit comments