Skip to content

Commit

Permalink
feat: 💥 phase_velocity and group_velocity aliases removed from IS…
Browse files Browse the repository at this point in the history
…Q by ISO
  • Loading branch information
mpusz committed Sep 28, 2024
1 parent 1c8b8ff commit 5a48f19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/systems/include/mp-units/systems/isq/space_and_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,8 @@ inline constexpr auto wavenumber = repetency;
QUANTITY_SPEC(wave_vector, repetency, quantity_character::vector);
QUANTITY_SPEC(angular_repetency, inverse(wavelength));
inline constexpr auto angular_wavenumber = angular_repetency;
QUANTITY_SPEC(phase_velocity, angular_frequency / angular_repetency);
inline constexpr auto phase_speed = phase_velocity;
QUANTITY_SPEC(group_velocity, angular_frequency / angular_repetency);
inline constexpr auto group_speed = group_velocity;
QUANTITY_SPEC(phase_speed, angular_frequency / angular_repetency);
QUANTITY_SPEC(group_speed, angular_frequency / angular_repetency);
QUANTITY_SPEC(damping_coefficient, inverse(time_constant));
QUANTITY_SPEC(logarithmic_decrement, dimensionless, damping_coefficient* period_duration);
QUANTITY_SPEC(attenuation, inverse(distance));
Expand Down
2 changes: 0 additions & 2 deletions test/static/isq_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ static_assert(verify(isq::wavenumber, scalar, one / m));
static_assert(verify(isq::wave_vector, vector, one / m));
static_assert(verify(isq::angular_repetency, scalar, one / m));
static_assert(verify(isq::angular_wavenumber, scalar, one / m));
static_assert(verify(isq::phase_velocity, scalar, m / s));
static_assert(verify(isq::phase_speed, scalar, m / s));
static_assert(verify(isq::group_velocity, scalar, m / s));
static_assert(verify(isq::group_speed, scalar, m / s));
static_assert(verify(isq::damping_coefficient, scalar, one / s));
static_assert(verify(isq::logarithmic_decrement, scalar, one));
Expand Down

0 comments on commit 5a48f19

Please sign in to comment.