 }
 
 
-void scale_station_coords_to_wavenumbers(const unsigned num_stations,
+void scale_station_coords_to_wavenumbers_d(const unsigned num_stations,
         oskar_StationModel* hd_stations, const double wavenumber)
 {
     int num_threads = 256;

    // === Allocate device memory for telescope and transfer to device.
    oskar_TelescopeModel hd_telescope;
    copy_telescope_to_gpu_d(&telescope, &hd_telescope);
    scale_telescope_coords_to_wavenumbers(&hd_telescope, wavenumber);

    // === Allocate memory to hold station uvw coordinates.
    double* station_u = (double*)malloc(num_stations * sizeof(double));

extern "C" {
#endif

// =============================================================================
void copy_telescope_to_gpu_d(const oskar_TelescopeModel* h_telescope,
        oskar_TelescopeModel* hd_telescope);

void scale_telescope_coords_to_wavenumbers_d(oskar_TelescopeModel* hd_telescope,
        const double wavenumber);

void copy_stations_to_gpu_d(const oskar_StationModel* h_stations,
        const unsigned num_stations, oskar_StationModel* hd_stations);

void scale_station_coords_to_wavenumbers_d(const unsigned num_stations,
        oskar_StationModel* hd_stations, const double wavenumber);

void copy_global_sky_to_gpu_d(const oskar_SkyModelGlobal_d* h_sky,
