Hi there,
This is just to do with the console output, rather than the output data of kspaceFirstOrder-CUDA itself so isn't an urgent issue. I've noticed the console output gives the domain size in m when the measures given are in mm, for example:
Running k-Wave simulation...
start time: 19-Oct-2023-22-43-10
reference sound speed: 1500.0 m/s
reference sound speed: 1500.0 m/s
dt: 25ns, t_end: 25ns, time steps: 2
input grid size: 364 by 108 by 364 grid points (82.0 by 24.3297 by 82.0 m)
maximum supported frequency: 3.329268MHz
smoothing p0 distribution...
expanding computational grid...
computational grid size: 384 by 128 by 384 grid points
precomputation completed in 2.619699553s
saving input files to disk...
completed in 5.87853329s
line 5 should state either, "(82.0 by 24.3297 by 82.0 mm)" or "(0.082 by 0.0243297 by 0.082 m)" for this simulation.
Regards,
Billy.