specfem::utilities::logspace

template<int N>
Kokkos::View<type_real[N], Kokkos::LayoutRight, Kokkos::HostSpace> specfem::utilities::logspace(type_real min, type_real max)

Compute logarithmically spaced values between min and max.

Template Parameters:

N – NUmber of points to generate

Parameters:
  • min – Minimum value (must be > 0)

  • max – Maximum value (must be > 0)

Returns:

Kokkos::View<type_real[N], Kokkos::LayoutRight, Kokkos::HostSpace>