This list will be periodically updated by the developers (between major releases) as bugs and issues are found.
-----------------------
Report Date: 13th March 2012
Issue:
Using the optional input 'PlotLayout'
set to true
with kspaceFirstOrder2D
when medium.sound_speed
or medium.density
are scalar values (homogeneous) generates a plot scale error.
Solution:
In private/kspaceFirstOrder_plotLayout.m
, remove the plot scale used on lines 139 and 151.
-----------------------
Report Date: 3rd April 2012
Issue:
The wavenumber variables kgrid.kx
, kgrid.k
(etc) are created incorrectly when the grid dimensions Nx
, Ny
(etc) have an odd number of grid points. This results in a small error (< 1%) when the spectral derivatives are calculated.
Solution:
In kWaveGrid.m
, the expression for nx
on line 295 should be replaced with:
nx = ((-(Nx-1)/2:(Nx-1)/2)/Nx).';
The same expression should be used to replace line 179 in private/makeGridStruct.m
(used for older versions of MATLAB).
-----------------------
Report Date: 10th April 2012
Issue:
The variables p_k
and source.p0
are missing from the list of data cast variables.
Solution:
In private/kspaceFirstOrder_dataCast.m
, on line 29 replace the list of cast variables with
cast_variables = {'kappa', 'p', 'p_k', 'c', 'dt', 'rho0'};
After line 90, add the lines:
% additional variables only used if there is an initial pressure source
if isfield(source, 'p0')
cast_variables = [cast_variables, {'source.p0'}];
end
-----------------------