[us-commits] [ehb54/ultrascan3] 6cc9d1: fix the w_offs calculation based on the new formular

Lukas Dobler noreply at github.com
Mon Mar 17 15:53:43 MDT 2025


  Branch: refs/heads/lukas/us_astfem_sim_timestate
  Home:   https://github.com/ehb54/ultrascan3
  Commit: 6cc9d10408d91922519bc36e4aa578d61facdf51
      https://github.com/ehb54/ultrascan3/commit/6cc9d10408d91922519bc36e4aa578d61facdf51
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M programs/us_convert/us_convert.cpp

  Log Message:
  -----------
  fix the w_offs calculation based on the new formular

Signed-off-by: doluk <69309597+doluk at users.noreply.github.com>


  Commit: d9da67e53742197104782eeca25be6de2e54449c
      https://github.com/ehb54/ultrascan3/commit/d9da67e53742197104782eeca25be6de2e54449c
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M programs/us_astfem_sim/us_astfem_sim.cpp

  Log Message:
  -----------
  Update omega2t calculation logic and fix type casting.

Revised the computation of `w2tsum` to improve accuracy during acceleration and constant-speed phases. Added a type cast to ensure `time_first` is stored as an integer. These changes enhance precision and prevent potential runtime issues.

Signed-off-by: doluk <69309597+doluk at users.noreply.github.com>


  Commit: b6a6d1a88ca4a976b611cb81541ea788d2670d97
      https://github.com/ehb54/ultrascan3/commit/b6a6d1a88ca4a976b611cb81541ea788d2670d97
  Author: doluk <69309597+doluk at users.noreply.github.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M utils/us_astfem_math.cpp

  Log Message:
  -----------
  Use `qCeil` instead of `qRound` for calculating `t_acc`.

This change ensures more accurate calculation of `t_acc` by rounding up instead of rounding to the nearest value. Additionally, the `rate` is now explicitly set to the acceleration value for improved clarity and consistency.

Signed-off-by: doluk <69309597+doluk at users.noreply.github.com>


Compare: https://github.com/ehb54/ultrascan3/compare/1203a9f84593...b6a6d1a88ca4

To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications


More information about the us-commits mailing list