{'fraction_non_alphanumeric': 0.02419984387197502, 'fraction_numerical': 0.00312256049960968, 'mean_word_length': 5.574358974358974, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Holberg's optimisation for high-order compact finite difference staggered schemes

Two optimised high-order compact finite difference (FD) staggered schemes are presented in this communication. Following Holberg's optimisation strategy, the least squares problem to minimising the group velocity (MGV) error, for the fourth- and sixth-order pentadiagonal schemes, is formulated. For a fixed level of group velocity accuracy, the optimised spectrum of wave number and the optimised coefficients for the schemes, are analytically evaluated. The spectral accuracy of these schemes has been verified by several comparisons with the FD staggered schemes obtained following Kim and Lee's (1996) optimisation procedure. Fewer group and phase velocity errors, greater resolution in terms of absolute error and resolving efficiency have been achieved by the optimised schemes proposed. High-order accuracy in time is obtained by marching the solution with an optimised Runge–Kutta scheme. Next, the comparison in terms of the number of grid points per wavelength required to achieve a standard accuracy for distances expressed in terms of the number of wavelengths travelled is presented. Numerical results from benchmark tests for the one-dimensional shallow water equations are presented.