High Order Spatial Generalization of 2D and 3D Isotropic Discrete Gradient Operators with Fast Evaluation on GPUs

被引:0
|
作者
Sébastien Leclaire
Maud El-Hachem
Jean-Yves Trépanier
Marcelo Reggio
机构
[1] École Polytechnique,Department of Mechanical Engineering
来源
关键词
Numerical differentiation; Isotropic finite difference ; Order of accuracy; Convolution; Jacket plugin for MATLAB; CUDA;
D O I
暂无
中图分类号
学科分类号
摘要
Based on the concept of isotropic centered finite differences, this work generalizes the spatial order of accuracy of the 2D and 3D isotropic discrete gradient operators to a higher order. A suitable methodology is used to obtain a set of equations from which it is possible to deduce stencil weights to achieve numerical approximations of both high order spatial and high order isotropic gradients. We consider that the suggested discretization will be useful for enhancing the quality of the results in various scientific fields. The spatial order (S\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$S$$\end{document}) controls the spatial order of accuracy of the gradient norm and direction, while the isotropic order (I\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$I$$\end{document}) controls, in some situations, the spatial order of accuracy of the gradient direction. A useful list of the stencil weights needed to construct different high order spatial and isotropic gradients is given. Numerical tests show that the numerical spatial orders of accuracy of the gradient approximation are the same as those predicted theoretically. Also, to illustrate the benefit of the new discretizations, some simulations with a multiphase lattice Boltzmann model are presented. Then, a series of benchmarks comparing various efficient convolution algorithms used to compute function or image gradients is presented. Different platforms implemented on CPUs and GPUs are studied, namely: plain MATLAB; the Jacket plugin for MATLAB; and CUDA. The results show situations in which substantial computational speedup can be obtained with CUDA and the Jacket plugin for MATLAB versus MATLAB on a CPU. Examples of 2D and 3D gradient computations using convolution products performed with our code are available for download as electronic supplementary material.
引用
收藏
页码:545 / 573
页数:28
相关论文
共 50 条
  • [21] An investigation of 2D and 3D spatial and mathematical abilities
    Ho, Chun-Heng
    Eastman, Charles
    Catrambone, Richard
    [J]. DESIGN STUDIES, 2006, 27 (04) : 505 - 524
  • [22] 2D and 3D visibility in discrete geometry: an application to discrete geodesic paths
    Coeurjolly, D
    Miguet, S
    Tougne, L
    [J]. PATTERN RECOGNITION LETTERS, 2004, 25 (05) : 561 - 570
  • [23] Properties of discrete breathers in 2D and 3D Morse crystals
    Kistanov, A. A.
    Orznikova, E. A.
    Fomin, S. Yu.
    Zhou, K.
    Dmitriev, S. V.
    [J]. LETTERS ON MATERIALS, 2014, 4 (04): : 315 - 318
  • [24] Fast and effective characterization for classification and similarity searches of 2D and 3D spatial region data
    Kontos, D
    Megalooikonomou, V
    [J]. PATTERN RECOGNITION, 2005, 38 (11) : 1831 - 1846
  • [25] A 2D and 3D discrete bisector function based on annulus
    Zrour, Rita
    Andres, Eric
    Sidibe, Sangbe
    Lenain, Raphael
    Largeteau-Skapin, Gaelle
    [J]. PATTERN ANALYSIS AND APPLICATIONS, 2021, 24 (03) : 1135 - 1148
  • [26] Discrete bisector function and Euclidean skeleton in 2D and 3D
    Couprie, Michel
    Coeurjolly, David
    Zrour, Rita
    [J]. IMAGE AND VISION COMPUTING, 2007, 25 (10) : 1543 - 1556
  • [27] 2D and 3D discrete numerical modelling of soil arching
    Ning Bao
    Jing Wei
    Jian-feng Chen
    Ping Wei
    [J]. JOURNAL OF ZHEJIANG UNIVERSITY-SCIENCE A, 2020, 21 (05): : 350 - 365
  • [28] A 2D and 3D discrete bisector function based on annulus
    Rita Zrour
    Eric Andres
    Sangbé Sidibe
    Raphael Lenain
    Gaelle Largeteau-Skapin
    [J]. Pattern Analysis and Applications, 2021, 24 : 1135 - 1148
  • [29] Harmonic density interpolation methods for high-order evaluation of Laplace layer potentials in 2D and 3D
    Perez-Arancibia, Carlos
    Faria, Luiz M.
    Turc, Catalin
    [J]. JOURNAL OF COMPUTATIONAL PHYSICS, 2019, 376 : 411 - 434
  • [30] 2D or 3D?
    Mills, R
    [J]. COMPUTER-AIDED ENGINEERING, 1996, 15 (08): : 4 - 4