Next Article in Journal
Refraction Laws in Temporal Media
Previous Article in Journal
Volume Dimension of Mass Functions in Complex Networks
Previous Article in Special Issue
An Inexact Noda Iteration for Computing the Smallest Eigenpair of a Large, Irreducible Monotone Matrix
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid DST-Accelerated Finite-Difference Solver for 2D and 3D Poisson Equations with Dirichlet Boundary Conditions

School of Geosciences and Info-Physics, Central South University, Changsha 410083, China
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(17), 2776; https://doi.org/10.3390/math13172776
Submission received: 4 August 2025 / Revised: 23 August 2025 / Accepted: 26 August 2025 / Published: 28 August 2025
(This article belongs to the Special Issue Numerical Methods for Scientific Computing)

Abstract

Finite-difference methods are widely used to solve partial differential equations in diverse practical applications. Despite their prevalence, the computational efficiency of these methods encounters limitations due to the need to solve linear equation systems through matrix inversion or iterative solver, which is particularly challenging in scenarios involving high dimensions. The demand for numerical methods with high accuracy and fast computational speed is steadily increasing. To address this challenge, we present an efficient and accurate algorithm for high-dimensional numerical modeling. This approach combines a central finite-difference method with the discrete Sine transform (DST) scheme to solve the Poisson equation under Dirichlet boundary conditions (DBCs). To balance numerical accuracy and computation, the DST scheme is applied along one direction in the 2D case and two directions in the 3D case. This strategy effectively reduces problem complexity while maintaining low computational cost. The hybrid DST-accelerated finite-difference approach substantially lowers the computational cost associated with solving the Poisson equation on large grids. Comprehensive numerical experiments for 2D and 3D Poisson equations with DBCs have been conducted. The obtained numerical results demonstrate that the proposed hybrid method not only significantly reduces the computational expenses, but also maintains the central finite-difference accuracy.

1. Introduction

The Poisson equation is classified as a special type of elliptic partial differential equation (PDE). Numerical solutions of the Poisson equation (or its special case, such as Laplace equation) are crucial for dealing with various mathematical and physical problems. For numerically solving the boundary value problem associated with the Poisson equation, the main methods include the finite-difference method [1,2,3,4,5], finite-volume method [6,7,8,9,10], boundary-element method [11,12,13,14], finite-element method [15,16,17,18,19], spectral method [20,21,22], and spectral-element method [23,24,25,26]. The finite-difference method is widely employed among various numerical methods for approximating solutions to partial differential equations, particularly in the fields of electrostatics, mechanical engineering, and theoretical physics [27]. It is especially favored when dealing with uncomplicated boundary conditions.
The prevalent technique in numerical computations for high-dimensional Poisson equations on uniform boundaries is the finite-difference method, as indicated in contrast to alternative numerical methods [28]. By employing differential operators to approximate partial derivatives within PDE, this method facilitates the computation of numerical solutions for the resulting system [29]. The accuracy of the finite-difference method depends on the ability of a fine grid to approximate the continuous problem, and errors can be arbitrarily minimized by increasing the number of mesh points. Substantial advancements have been well developed in enhancing the efficiency and accuracy of the finite-difference approach for solving Poisson equations in two or three dimensions [30,31]. Although the finite-difference scheme is relatively simple and can achieve high accuracy, it is implicit and typically requires matrix inversion or an iterative solver for the linear system. The computational cost of solving large linear or non-linear systems through the matrix inversion method or an iterative solver is substantial, necessitating the exploration of alternative techniques that can yield solutions more efficiently. Therefore, in order to enhance the efficiency of the finite-difference method, it is essential to avoid matrix inversion or an iterative solver, especially for large-scale linear systems.
Fourier-related transforms play a crucial role in solving PDE problems [32,33,34,35]. Many PDE problems, including Poisson equations with constant coefficient and variable coefficient, can be solved efficiently using Fourier-related transforms. These transforms can be categorized into two types based on time continuity, discreteness, and periodicity: the discrete-time Fourier transform (DFT) and the continuous-time Fourier transform (CFT). The rapid development of digital technology, particularly computer hardware and software, has provided abundant resources for discrete signal processing. Notably, the fast Fourier transform (FFT) stands out as a prevalent tool for computing the DFT, which calculates the discrete-time Fourier series for periodic signals. Fourier-related transforms can be effective for solving the Poisson equation under a range of boundary conditions, such as periodic, Dirichlet, and Neumann boundary conditions [36]. Utilizing the finite difference method enables the derivation of solutions via distinct discrete Fourier transformations (DFTs). For example, the discrete Sine transform (DST) is suitable for addressing Dirichlet boundary conditions (DBCs), while the discrete Cosine transform (DCT) is applicable to Neumann boundary conditions (NBCs) [37]. Previously, these transforms have been utilized to efficiently solve the linear systems resulting from a finite-difference approach in the resolution of the Poisson equation, instead of using matrix inversion techniques or an iterative solver [38].
The DST approach is a highly efficient spectral technique for accelerating the finite difference solution of boundary value problems, especially those with Dirichlet boundary conditions [39,40]. The core idea is that, for a standard second-order finite difference discretization on a uniform grid, the coefficient matrix displays a specific eigenstructure. Importantly, the eigenvectors of this matrix align precisely with the basis functions of the DST. Consequently, applying a forward DST to the right-hand-side vector of the system effectively projects onto the eigenspace of the difference matrix. This paper aims to develop a computationally efficient numerical approach, leveraging the advantages of finite-difference methods, for solving high-dimensional Poisson equations with DBCs, using a DST-accelerated technique. In order to balance the accuracy and efficiency in finite-difference numerical computation, the DST scheme is employed along one direction in the 2D case and two directions in the 3D case, effectively reducing the problem complexity at low cost.
The layout of this paper is structured in the following manner. In Section 2, we provide a comprehensive review of Sine series and the associated DST. Section 3 details the implementation of the hybrid DST-accelerated finite-difference algorithm for high-dimensional Poisson equations with homogeneous DBCs. In Section 4, we present the numerical experiments for Poisson equations in 2D and 3D cases using the proposed hybrid method. Section 5 discusses 2D Poisson equations with non-homogeneous DBCs. In Section 6, the main conclusions are ultimately outlined.

2. Sine Series and the Associated Discrete Sine Transform

This section provides a concise overview of the Sine series and its associated discrete transform. Additional significant findings related to them can be found in Reference [41].
Let u x be a function defined on [0, L] and satisfying certain conditions:
u 0 = u L = 0
Within the framework of Fourier series, u x can be represented as follows:
u x = n = 1 b n sin n π x L , x 0 , L
where b n is the Sine series coefficient. According to the Formula (2), we have
b n = 2 L 0 L u x sin n π x L d x , n = 1 , 2 , 3 ,
In the field of mathematics, the DST is a Fourier-related transform that exhibits similarities with the DFT. This transform corresponds to the imaginary components of a DFT of approximately twice the length and effectively handles real data with odd symmetry [42]. The DST technique utilized in this paper corresponds to the first type (I).
The DST-I for a given data sequence x n , n = 1 , 2 , , N , is defined by
X k = 2 N + 1 n = 1 N x n sin n k π N + 1 , k = 1 , 2 , , N
The corresponding inverse DST-I is defined by
x n = k = 1 N X k sin n k π N + 1 , n = 1 , 2 , , N

3. Hybrid DST-Accelerated Finite-Difference Scheme

This section illustrates the use of a central finite-difference technique for solving the Poisson equation with homogeneous DBCs in 2D and 3D cases. To reduce computational expense, we propose a hybrid DST-accelerated finite-difference approach.

3.1. Two-Dimensional Poisson Equation with Homogeneous DBCs

Firstly, we focus on the application of the hybrid DST-accelerated finite-difference approach to solving the 2D Poisson equation with homogeneous DBCs. Consider the following 2D boundary value problem:
2 u x 2 + 2 u y 2 = f x , y , a < x < b , c < y < d u x = a = 0 , u x = b = 0 , c y d u y = c = 0 , u y = d = 0 , a x b
where a , b , c , d are constants, f x , y denotes a given source function, and u = u x , y represents an unknown solution.
The numerical solution for Equation (6) can be obtained using the five-point finite-difference approach. The computational domain is discretized into N x and N y rectangular elements, aligned parallel to the x- and y-axis, respectively, as depicted in Figure 1. The discrete nodes along the x-direction are indexed by i = 1 , 2 , 3 , , N x + 1 , while those on the y-direction are indexed by j = 1 , 2 , 3 , , N y + 1 . The nodal intervals are Δ x = b a / N x and Δ y = d c / N y . Additionally, u i , j and f i , j are represented as approximations for u x i , y j and f x i , y j , respectively. For an interior discrete node (i, j) that maintains equal grid spacing along both the x and y axes, the central-difference approach of the Poisson equation in Equation (6) can be written as follows:
u i 1 , j 2 u i , j + u i + 1 , j Δ x 2 + u i , j 1 2 u i , j + u i , j + 1 Δ y 2 = f i , j
Using the Kronecker tensor product , Equation (7) can be reformulated into the following algebraic equation form:
I x A + B I y u = f
where I x and I y are identity matrix, respectively. A , B ( N x 1 ) × N y 1 with the following forms:
A = 2 Δ x 2 2 Δ y 2 1 Δ y 2 0 0 1 Δ y 2 2 Δ x 2 2 Δ y 2 1 Δ y 2 0 0        1 Δ y 2    2 Δ x 2 2 Δ y 2 1 Δ y 2 0 0 1 Δ y 2 2 Δ x 2 2 Δ y 2 N x 1 × N x 1 ,
B = 1 Δ x 2 1 Δ x 2 1 Δ x 2 N y 1 × N y 1
The vector u is the solution of the interior mesh nodes, and the vector f is related to the non-homogeneous term of the Poisson equation:
u = u 1 = u 1 , 1 u 2 = u 1 , 2 u i 1 × N y 1 + j = u i , j   u N x 1 × N y 1 = u N x 1 , N y 1 ,   f = f 1 = f 1 , 1 f 2 = f 1 , 2 f i 1 × N y 1 + j = f i , j   f N x 1 × N y 1 = f N x 1 , N y 1
The direct utilization of Equation (8) to solve the 2D Poisson equation with homogeneous DBCs is a feasible approach. However, the computational cost will increase as the number of discrete rectangular meshes is augmented. In the following, we solely perform DST in the x-direction and solve the above 2D finite-difference discretization with the hybrid DST-accelerated finite-difference approach. We note the one-dimensional DST for the space-domain solution u x i , y j and its corresponding inverse transform for the hybrid wavenumber domain solution u ˜ k i , y j . They are defined as follows:
u ˜ k i , y j = 2 N x i = 1 N x 1 u x i , y j sin i k i π N x
u x i , y j = k i = 1 N x 1 u ˜ k i , y j sin i k i π N x
where k i = 2 , 3 , , N x , and k j = 2 , 3 , , N y .
At any interior node x i , y j , applying the one-dimensional DST technique in the x-direction and the second-order central-difference approach, the partial derivative 2 u x 2 in Equation (6) can be expressed as follows:
2 u x 2 x = x i y = y j = u x i 1 , y j 2 u x i , y j + u x i + 1 , y j Δ x 2 = k i = 1 N x 1 u ˜ k i , y j sin i 1 k i π N x 2 sin i k i π N x + sin i + 1 k i π N x Δ x 2 = 1 Δ x 2 k i = 1 N x 1 u ˜ k i , y j 2 cos k i π N x 1 sin i k i π N x
Here we define modified wavenumber λ x i = 2 cos π k i N x 1 , then
2 u x 2 x = x i y = y j = 1 Δ x 2 k i = 1 N x 1 u ˜ k i , y j λ x i sin i k i π N x
Applying the one-dimensional DST technique in x-direction, the second-order central-difference approximation of partial derivative 2 u y 2 in Equation (6) can be expressed as follows:
2 u y 2 x = x i y = y j = u x i , y j 1 2 u x i , y j + u x i , y j + 1 Δ y 2 = k i = 1 N x 1 u ˜ k i , y j 1 2 u ˜ k i , y j + u ˜ k i , y j + 1 Δ y 2 sin i k i π N x
Meanwhile,
f x i , y j = k i = 1 N x 1 f ˜ k i , y j sin i k i π N x
where i = 2 , 3 , , N x , and j = 2 , 3 , , N y .
Substituting Equations (11)–(13) into Equation (7), and applying the homogeneous DBCs, a linear system for the hybrid space–wavenumber domain u ˜ k i , y j is expressed as follows
2 Δ y 2 + λ x i Δ x 2     1 Δ y 2 1 Δ y 2 2 Δ y 2 + λ x i Δ x 2 1 Δ y 2 1 Δ y 2 2 Δ y 2 + λ x i Δ x 2 1 Δ y 2 1 Δ y 2 2 Δ y 2 + λ x i Δ x 2 u ˜ k i , y 2 u ˜ k i , y 3 u ˜ k i , y N y 1 u ˜ k i , y N y = f ˜ k i , y 2 f ˜ k i , y 3 f ˜ k i , y N y 1 f ˜ k i , y N y
Solving the linear system in Equation (14), we can obtain the approximate solutions u ˜ k i , y j in the hybrid space–wavenumber domain. Furthermore, by applying the 1D inverse DST approach, we obtain the corresponding approximate solutions u x i , y j in the space domain, for all i = 2 , 3 , , N x , and j = 2 , 3 , , N y in Equation (6).
The procedure of the hybrid DST-accelerated finite-difference solver for the 2D Poisson equation with homogeneous DBCs is summarized in Algorithm 1.
Algorithm 1 Hybrid DST-accelerated finite-difference solver for 2D Poisson equation with homogeneous DBCs
Required: N x , N y , Δ x , Δ y , and f x i , y j .
1: Compute wavenumber k i .
2: Compute modified wavenumber λ x i = 2 cos π k i N x 1 .
3: Compute f ˜ k i , y j with the 1D DST, defined by Equation (13).
4: Solve u ˜ k i , y j , defined by Equation (14)
5: Apply the 1D inverse DST on u ˜ k i , y j to obtain u x i , y j .

3.2. Three-Dimensional Poisson Equation with Homogeneous DBCs

This subsection focuses on the application of the hybrid DST-accelerated finite-difference approach to solve the 3D Poisson problem in the case of homogeneous DBCs. Consider the 3D boundary value problem given below:
2 u x 2 + 2 u y 2 + 2 u z 2 = f x , y , z ,      a 1 < x < b 1 , a 2 < y < b 2 , a 3 < z < b 3 u x = a 1 = 0 , u x = b 1 = 0 ,      a 2 < y < b 2 ,   a 3 < z < b 3 u y = a 2 = 0 , u y = b 2 = 0 ,      a 1 < x < b 1 ,   a 3 < z < b 3 u z = a 3 = 0 , u z = b 3 = 0 ,      a 1 < x < b 1 ,   a 2 < y < b 2
where u = u x , y , z represents an unknown solution, a 1 , b 1 , a 2 , b 2 , a 3 , b 3 , and f x , y , z denotes a given source function.
To solve the boundary value problem (15) using the finite-difference approach, we discretize the 3D computational domain into N x × N y × N z rectangular meshes defined by the dividing planes x = x i i = 1 , 2 , , N x + 1 , y = y j j = 1 , 2 , , N y + 1 , and z = z p p = 1 , 2 , , N z + 1 . The nodal intervals are Δ x = b 1 a 1 / N x , Δ y = b 2 a 2 / N y , and Δ z = b 3 a 3 / N z , as shown in Figure 2. In addition, u i , j , p and f i , j , p are represented as approximations of u x i , y j , z p and f x i , y j , z p , respectively. At any interior node x i , y j , z p with uniform meshes in x, y, and z axes, the 3D Poisson equation in Equation (15) is expressed using the central-difference approach as follows:
u i 1 , j , p 2 u i , j , p + u i + 1 , j , p Δ x 2 + u i , j 1 , p 2 u i , j , p + u i , j + 1 , p Δ y 2 + u i , j , p 1 2 u i , j , p + u i , j , p + 1 Δ z 2 = f i , j , p
In the following, we perform DST technology in both the x-direction and the y-direction, and solve the aforementioned 3D finite-difference discretization using the hybrid DST-accelerated finite-difference approach. The 2D DST for u x i , y j , z p and its corresponding inverse transform for u ˜ k i , k j , z p are defined as
u x i , y j , z p = k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p sin i k i π N x sin j k j π N y
u ˜ k i , k j , z p = 2 N x 2 N y i = 1 N x 1 j = 1 N y 1 u x i , y j , z p sin i k i π N x sin j k j π N y
where i = 2 , 3 , , N x , j = 2 , 3 , , N y , and p = 2 , 3 , , N z .
At any interior node (i, j, p), the partial derivative 2 u x 2 in Equation (15) can be expressed using the second-order central-difference technique as follows:
2 u x 2 x = x i y = y j z = z p = u x i 1 , y j , z p 2 u x i , y j , z p + u x i + 1 , y j , z p Δ x 2 = k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p sin i 1 k i π N x 2 sin i k i π N x + sin i + 1 k i π N x Δ x 2 sin j k j π N y = 1 Δ x 2 k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p 2 cos k i π N x 1 sin i k i π N x sin j k j π N y
Here we define λ x i = 2 cos π k i N x 1 , then
2 u x 2 x = x i y = y j z = z p = 1 Δ x 2 k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p λ x i sin i k i π N x sin j k j π N y
At any interior node (i, j, p), the second-order partial derivative 2 u y 2 in Equation (15) can be expressed as follows:
2 u y 2 x = x i y = y j z = z p = u x i , y j 1 , z p 2 u x i , y j , z p + u x i , y j + 1 , z p Δ y 2 = k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p sin j 1 k j π N y 2 sin j k j π N y + sin j + 1 k j π N y Δ y 2 sin i k i π N x = 1 Δ y 2 k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p 2 cos k j π N y 1 sin i k i π N x sin j k j π N y
Then,
2 u y 2 x = x i y = y j z = z p = 1 Δ y 2 k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p λ y j sin i k i π N x sin j k j π N y
where λ y j = 2 cos π k j N y 1 .
Appling 2D DST on the second-order central finite-difference approximation of the partial derivative 2 u z 2 in Equation (15) can be expressed as follows:
2 u z 2 x = x i y = y j z = z p = u x i , y j , z p 1 2 u x i , y j , z p + u x i , y j , z p + 1 Δ z 2 = k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p u ˜ k i , k j , z p 1 2 u ˜ k i , k j , z p + u ˜ k i , k j , z p + 1 Δ z 2 sin i k i π N x sin j k j π N y
Meanwhile,
f x i , y j , z p = k i = 1 N x 1 k j = 1 N y 1 f ˜ k i , k j , z p sin i k i π N x sin j k j π N y
where i = 2 , 3 , , N x , j = 2 , 3 , , N y , and p = 2 , 3 , , N z .
Substituting Equations (19)–(22) into Equation (16), we obtain
1 Δ x 2 k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p λ x i sin i k i π N x sin j k j π N y              + 1 Δ y 2 k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p λ y j sin i k i π N x sin j k j π N y                          + k i = 1 N x 1 k j = 1 N y 1 u ˜ k i , k j , z p u ˜ k i , k j , z p 1 2 u ˜ k i , k j , z p + u ˜ k i , k j , z p + 1 Δ z 2 sin i k i π N x sin j k j π N y = k i = 1 N x 1 k j = 1 N y 1 f ˜ k i , k j , z p sin i k i π N x sin j k j π N y
Applying the homogeneous DBCs, the linear system in the hybrid space–wavenumber domain u ˜ k i , k j , z p can be written as
2 Δ z 2 + λ x i Δ x 2 + λ y j Δ y 2             1 Δ z 2 1 Δ z 2                        2 Δ z 2 + λ x i Δ x 2 + λ y j Δ y 2             1 Δ z 2                                                                                                    1 Δ z 2                                2 Δ z 2 + λ x i Δ x 2 + λ y j Δ y 2             1 Δ z 2                                                               1 Δ z 2             2 Δ z 2 + λ x i Δ x 2 + λ y j Δ y 2 u ˜ k i , k j , z 2 u ˜ k i , k j , z 3 u ˜ k i , k j , z N z 1 u ˜ k i , k j , z N z = f ˜ k i , k j , z 2 f ˜ k i , k j , z 3 f ˜ k i , k j , z N z 1 f ˜ k i , k j , z N z
By solving the linear system in Equation (23), we obtain the approximate numerical solutions u ˜ k i , k j , z p in the hybrid space–wavenumber domain. Additionally, by applying the 2D inverse DST approach, we obtain the corresponding approximate solutions u x i , y j , z p in the space domain, for all i = 2 , 3 , , N x , j = 2 , 3 , , N y , and p = 2 , 3 , , N z in Equation (15).
The procedure of the hybrid DST-accelerated finite-difference solver for the 3D Poisson equation with homogeneous DBCs is summarized in Algorithm 2.
Algorithm 2 Hybrid DST-accelerated finite-difference solver for 3D Poisson equation with homogeneous DBCs
Required: N x , N y , N z , Δ x , Δ y , Δ z , and f x i , y j , z p .
1: Compute wavenumber k i and k j .
2: Compute modified wavenumber λ x i = 2 cos π k i N x 1 and λ y j = 2 cos π k j N y 1 .
3: Compute f ˜ k i , k j , z p with the 2D DST, defined by Equation (22).
4: Solve u ˜ k i , k j , z p , defined by Equation (23)
5: Apply the 2D inverse DST on u ˜ k i , k j , z p to obtain u x i , y j , z p .

4. Numerical Experiments

To enhance the understanding of how the hybrid DST-accelerated finite-difference solver is applied to solve high-dimensional (2D and 3D) Poisson equations with homogeneous DBCs, we carried out several numerical experiments on accuracy and efficiency in this section. Our numerical simulations were executed on a desktop computer featuring a 12th Gen Intel Core (TM) i7-12700F processor operating at 2.1 GHz with 32 GB DDR RAM.

4.1. Two-Dimensional Example

In this numerical experiment, we solve a 2D Poisson equation with homogeneous DBCs:
2 u x 2 + 2 u y 2 = 2 π 2 sin π x sin π y , 0 < x < 2 , 0 < y < 2 u x = 0 = 0 , u x = 2 = 0 , 0 y 2 u y = 0 = 0 , u y = 2 = 0 , 0 x 2
The analytical solution for this boundary value problem on the computational domain [0, 2] × [0, 2] is expressed as u a n a l y t i c a l x , y = sin π x sin π y . Assuming N x = N y = 32 , the numerical solution reveals strong agreement between the hybrid DST-accelerated finite-difference numerical solution and the corresponding analytical solution at all discrete nodes x i , y j i , j = 1 , 2 , , 33 , as illustrated in Figure 3. The maximum absolute error observed of this numerical solution is equal to 0.0032.
Moreover, numerical error statistics for this 2D problem have been conducted, as presented in Table 1. In this table, the computational error is defined using the discrete L2 norm as [43]:
error = i = 1 N x + 1 j = 1 N y + 1 u i , j u ˜ i , j 2 i = 1 N x + 1 j = 1 N y + 1 u ˜ i , j 2 × 100   %
where u i , j and u ˜ i , j represent the approximate numerical solution in 2D and the analytical solution, respectively. Increasing the number of rectangular mesh cells in this numerical experiment leads to a reduction in computational error. This reduction, in turn, enhances the stability of both our proposed hybrid scheme and the traditional finite-difference method. In addition, both our method and the traditional finite-difference method achieve comparable levels of precision. The numerical results indicate that our hybrid DST-accelerated finite-difference solver provides high accuracy in the case of the 2D problem with homogeneous DBCs.
Additionally, we assess the computational time required by our proposed approach in comparison with the conventional central finite-difference method, as presented in Table 2. This table reveals that our hybrid DST-accelerated finite-difference method necessitates significantly less computational time, even when the mesh size N x = N y = 512 is considered. In contrast, the traditional finite-difference method requires additional computational time to solve the 2D Poisson equation. The longer wall-clock time of the traditional finite-difference scheme in Table 2 is from two cumulative costs: (1) Large-scale assembly cost: The finite-difference method forms the discrete operator and right-hand side through nested loops over the grid to apply stencils, enforce boundary conditions, and update coefficients. This loop-based assembly to build the large sparse linear system is nontrivial and scales with the number of degrees of freedom. (2) Large-scale solve cost: Once assembled, the large sparse system must be solved using either a direct approach or an iterative solver. As the mesh is refined, both the assembly time (more grid points) and the solve time increase sharply.

4.2. Three-Dimensional Example

In this numerical experiment, we examine a 3D Poisson equation with homogeneous DBCs, defined as follows:
2 u x 2 + 2 u y 2 + 2 u z 2 = 3 π 2 sin π x sin π y sin π z , 0 < x < 2 , 0 < y < 2 , 0 < z < 2 u x = 0 = 0 , u x = 2 = 0 , 0 y 2 , 0 z 2 u y = 0 = 0 , u y = 2 = 0 , 0 x 2 , 0 z 2 u z = 0 = 0 , u z = 2 = 0 , 0 x 2 , 0 y 2
The analytical solution for this boundary value problem on the computational domain [0, 2] × [0, 2] × [0, 2] is given by u a n a l y t i c a l x , y , z = sin π x sin π y sin π z . Assuming N x = N y = N z = 40 , the numerical computation is shown in Figure 4. We find that both the hybrid DST-accelerated finite-difference approximate numerical solutions and exact analytical solutions at all discrete nodes x i , y j , z p i , j , p = 1 , 2 , , 41 agree very well. The maximum absolute error is 0.0021.
In addition, a numerical error analysis has been conducted, as depicted in Table 3. In this table, the computational error is defined according to the discrete L2 norm as [44,45]:
error = i = 1 N x + 1 j = 1 N y + 1 p = 1 N z + 1 u i , j , p u ˜ i , j , p 2 i = 1 N x + 1 j = 1 N y + 1 p = 1 N z + 1 u ˜ i , j , p 2 × 100   %
where u i , j , p and u ˜ i , j , p represent the 3D numerical and analytical solutions, respectively. In this numerical experiment, consistent with previous findings, an increase in the number of rectangular meshes leads to a reduction in the computational error, thereby confirming the stability of both our proposed hybrid solver and the traditional central finite-difference method. Our approach, alongside the conventional finite-difference method, demonstrates equal numerical precision. These findings suggest that our hybrid DST-accelerated finite-difference solver ensures high precision when tackling the 3D Poisson equation under homogeneous DBCs.
The computational time of our proposed solver is further compared with that of the traditional central finite-difference scheme, as shown in Table 4. The table demonstrates that our hybrid DST-accelerated finite-difference solver exhibits a significantly reduced computational time requirement, particularly when the mesh size N x = N y = N z = 128 . The traditional central finite-difference method, however, requires a longer computational time to solve this 3D Poisson equation.

5. Discussion

The numerical experiments described above used the hybrid DST-accelerated finite-difference technique to solve the Poisson equations, which is subject to homogeneous DBCs. In order to address problems with non-homogeneous DBCs, Wang et al. [38] utilized a variable transformation method to transform the specified non-homogeneous DBCs into a homogeneous form. However, the efficacy of this approach diminishes when an analytical solution is non-existent or difficult to attain. The subsequent discussion focuses on an efficient approach to handling non-homogeneous DBCs, with specific emphasis on the 2D Poisson equation as an illustrative example.

5.1. Non-Homogeneous DBCs in Non-DST Direction

If the non-homogeneous boundary is not in the DST direction, we only need to implement the DST on the non-homogeneous boundary, and Equation (14) should be modified with the imposed boundary conditions. By solving the corresponding linear system of Equation (14), we obtain the approximate solutions in the hybrid space–wavenumber domain.
For the purpose of a numerical example discussion, the non-homogeneous DBCs in the y-direction are considered as follows:
2 u x 2 + 2 u y 2 = 1 π 2 e y sin π x , 0 < x < 1 , 0 < y < 2 u x = 0 = 0 , u x = 1 = 0 , 0 y 2 u y = 0 = sin π x , u y = 2 = e 2 sin π x , 0 x 1
The analytical solution for this problem on the region [0, 1] × [0, 2] is u a n a l y t i c a l x , y = sin π x e y . The Poisson equation in the x-direction is solved using the DST, and the DST is applied to the non-homogeneous boundaries. The 2D finite-difference discretization problem is then solved using the hybrid DST-accelerated finite-difference solver. Assuming N x = N y = 32 , the numerical results are presented in Figure 5. We observe strong alignment between the hybrid DST-accelerated finite-difference approximate solutions and the related exact solutions at all discrete nodes x i , y j i , j = 1 , 2 , , 33 . The maximum absolute error observed of this numerical solution is equal to 0.0027.

5.2. Non-Homogeneous DBCs in DST Direction

If the non-homogeneous boundary lies in the DST direction, we should revise the non-homogeneous term of the Poisson equation based on the non-homogeneous boundaries. As a numerical example discussion, we consider the non-homogeneous DBCs in the x-direction, defined as follows:
2 u x 2 + 2 u y 2 = 1 π 2 e x sin π y , 0 < x < 2 , 0 < y < 1 u x = 0 = sin π y , u x = 1 = e 2 sin π y , 0 y 1 u y = 0 = 0 , u y = 2 = 0 , 0 x 2
The analytical solution for this problem on the computational domain [0, 2] × [0, 1] is given by u a n a l y t i c a l x , y = e x sin π y . The non-homogeneous DBCs can be implemented as
f : , 1 = f : , 1 sin π y : , 1 Δ x 2
and
f : , N x 1 = f : , N x 1 e 2 sin π y : , N x 1 Δ x 2
Assuming N x = N y = 32 , the numerical results are shown in Figure 6, which reveal a high level of agreement between the hybrid DST-accelerated finite-difference approximate solutions and the associated exact solutions at all discrete nodes x i , y j i , j = 1 , 2 , , 33 . The maximum absolute error observed of numerical solution is 0.0027.
Statistics of computational time and numerical error for the Poisson equation with non-homogeneous DBCs are represented in Table 5. As the number of rectangular mesh cells increases, the computational error decreases, which in turn enhances the stability of both the proposed hybrid scheme and the conventional finite-difference method. Both approaches achieve comparable accuracy. The results indicate that our hybrid DST-accelerated finite-difference solver attains high accuracy for the 2D problem with non-homogeneous DBCs, while requiring substantially less computational time—even on fine meshes—whereas the conventional finite-difference method incurs noticeably higher computational costs for the 2D Poisson equation with non-homogeneous DBCs.

6. Conclusions

The present study proposes and implements a novel numerical scheme, namely the hybrid DST-accelerated finite-difference method, to address the limitations of the conventional central finite-difference approximation in solving high-dimensional Poisson equations. This approach aims to strike a balance between accuracy and computational efficiency. The hybrid DST-accelerated finite-difference approach, in comparison to the traditional finite-difference method, incorporates DST technology to independently convert 3D finite-difference problems into one-dimensional problems along the vertical direction. Despite requiring an additional inverse DST during the reduction of the research problem’s dimensionality, the proposed method can avoid the challenges associated with large-scale matrix inversion. The effectiveness and accuracy of the hybrid DST-accelerated finite-difference solver are illustrated by solving 2D and 3D Poisson problems with homogeneous DBCs. Results from numerical experiments indicate that this approach can significantly reduce computational cost while delivering highly accurate approximate solutions, with absolute errors on the order of 1 × 10−3, aligning closely with the exact analytical results.
The hybrid DST-accelerated finite-difference algorithm described in this paper primarily addresses high-dimensional Poisson equations with homogeneous DBCs. However, we demonstrate that the numerical method can also effectively tackle Poisson equations with non-homogeneous DBCs through appropriate treatment. Furthermore, our efficient solver can be readily adapted to address the associated discretized problems. This capability is especially beneficial for central finite-difference schemes employed in the discretization of PDEs, including the acoustic wave and heat conduction equations, where solving Poisson-type equations becomes necessary.

Author Contributions

Conceptualization, J.P. and X.T.; formal analysis, X.T.; funding acquisition, X.T.; methodology, J.P. and X.T.; project administration, J.P.; visualization, X.T.; supervision, J.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research work was supported by the National Key R&D Program of China (Grant No. 2023YFF0718000).

Data Availability Statement

Data associated with this research are available and can be obtained by contacting the corresponding author.

Acknowledgments

The authors would like to thank Ya Sun, who modified this manuscript to improve the English writing quality and gave helpful discussions about the results of the models. We would also like to thank the editors and the reviewers for providing comments that substantially improved the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Feng, Q.; Han, B.; Minev, P. Sixth order compact finite differences schemes for Poisson interface problems with singular sources. Comput. Math. Appl. 2021, 99, 2–25. [Google Scholar] [CrossRef]
  2. Abide, S. Finite difference preconditioning for compact scheme discretizations of the Poisson equation with variable coefficients. J. Comput. Appl. Math. 2020, 379, 112872. [Google Scholar] [CrossRef]
  3. Raeli, A.; Bergmann, M.; Iollo, A. A finite-difference method for the variable coefficient Poisson equation on hierarchical Cartesian meshes. J. Comput. Phys. 2018, 355, 59–77. [Google Scholar] [CrossRef]
  4. Mohanty, R.K.; Niranjan. A class of new implicit compact sixth-order approximations for Poisson equations and the estimates of normal derivatives in multi-dimensions. Results Appl. Math. 2024, 22, 100454. [Google Scholar] [CrossRef]
  5. Jomaa, Z.; Macaskill, C. The Shortley-Weller embedded finite-difference method for the 3D Poisson equation with mixed boundary conditions. J. Comput. Phys. 2010, 229, 3675–3690. [Google Scholar] [CrossRef]
  6. Asadzadeh, M.; Bartoszek, K. Convergence of finite volume scheme for a three-dimensional Poisson equation. J. Math. Sci. 2014, 202, 130–153. [Google Scholar] [CrossRef]
  7. Bonnafont, T.; Bessieres, D.; Paillol, J. A finite volume method to solve the Poisson equation with jump conditions and surface charges: Application to electroporation. J. Comput. Phys. 2024, 504, 112862. [Google Scholar] [CrossRef]
  8. Jahandari, H.; Farquharson, C.G. Forward modeling of gravity data using finite-volume and finite-element methods on unstructured grids. Geophysics 2013, 78, 69–80. [Google Scholar] [CrossRef]
  9. Yu, C.; Wang, Y.; Li, Y. The finite volume element methods for Poisson equation based on Adini’s element. Appl. Math. Comput. 2013, 219, 5537–5549. [Google Scholar] [CrossRef]
  10. Zapata, M.U.; Bang, D.P.V.; Nguyen, K.D. An unstructured finite volume technique for the 3D Poisson equation on arbitrary geometry using a σ-coordinate system. Int. J. Numer. Methods Fluids 2014, 76, 611–631. [Google Scholar] [CrossRef]
  11. Yu, B.; Jing, R. SCTBEM: A scaled coordinate transformation boundary element method with 99-line MATLAB code for solving Poisson’s equation. Comput. Phys. Commun. 2024, 300, 109185. [Google Scholar] [CrossRef]
  12. Dargush, G.F.; Banerjee, P.K. A boundary element method for axisymmetric soil consolidation. Int. J. Solids Struct. 1991, 28, 897–915. [Google Scholar] [CrossRef]
  13. Ramos, V.E.S.; Loeffler, C.F.; Mansur, W.J. A boundary element method recursive procedure applied to Poisson’s problems. Eng. Anal. Bound. Elem. 2017, 82, 104–110. [Google Scholar] [CrossRef]
  14. Desiderio, L.; Falletta, S.; Ferrari, M.; Scuderi, L. CVEM-BEM coupling with decoupled orders for 2D exterior Poisson problems. J. Sci. Comput. 2022, 92, 96. [Google Scholar] [CrossRef]
  15. Solin, P. Partial Differential Equations and the Finite Element Method; Blackwell Science Publishing: Oxford, UK, 2006. [Google Scholar]
  16. Pande, S.; Papadopoulos, P.; Babuska, I. A cut-cell finite element method for Poisson’s equation on arbitrary planar domains. Comput. Methods Appl. Mech. Eng. 2021, 383, 113875. [Google Scholar] [CrossRef]
  17. Guan, Q. Weak Galerkin finite element method for Poisson’s equation on polytopal meshes with small edges or faces. J. Comput. Appl. Math. 2020, 368, 112584. [Google Scholar] [CrossRef]
  18. Goona, N.K.; Parne, S.R. Distributed source scheme for Poisson equation using finite element method. J. Comput. Sci. 2023, 72, 102103. [Google Scholar] [CrossRef]
  19. Romao, E.C.; Campos, M.D.; Moura, L.F.M. Application of the Galerkin and least-squares finite element methods in the solution of 3D Poisson and Helmholtz equations. Comput. Math. Appl. 2011, 62, 4288–4299. [Google Scholar] [CrossRef]
  20. Shen, J.; Tang, T. Spectral and High-Order Methods with Applications; Science Press: Beijing, China, 2006. [Google Scholar]
  21. Boyd, J.P.; Yu, F. Comparing seven spectral methods for interpolation and for solving the Poisson equation in a disk: Zernike polynomials, Logan–Shepp ridge polynomials, Chebyshev–Fourier Series, cylindrical Robert functions, Bessel–Fourier expansions, square-to-disk conformal mapping and radial basis functions. J. Comput. Phys. 2011, 230, 1408–1438. [Google Scholar] [CrossRef]
  22. Kong, W.; Wu, X. Chebyshev tau matrix method for Poisson-type equations in irregular domain. J. Comput. Appl. Math. 2009, 228, 158–167. [Google Scholar] [CrossRef]
  23. Pan, J.; Li, H. A penalized weak Galerkin spectral element method for second order elliptic equations. J. Comput. Appl. Math. 2021, 386, 113228. [Google Scholar] [CrossRef]
  24. Caforio, F.; Imperiale, S. A high-order spectral element fast Fourier transform for the Poisson equation. SIAM J. Sci. Comput. 2019, 41, 2747–2771. [Google Scholar] [CrossRef]
  25. Gharti, H.N.; Tromp, J.; Zampini, S. Spectral-infinite-element simulations of gravity anomalies. Geophys. J. Int. 2018, 215, 1098–1117. [Google Scholar] [CrossRef]
  26. Tong, X.; Sun, Y. Spectral-element simulations of gravity anomalies for 3-D topography model. IEEE Geosci. Remote Sens. Lett. 2024, 21, 7503705. [Google Scholar] [CrossRef]
  27. Qu, W.; Gu, Y.; Fan, C.M. A stable numerical framework for long-time dynamic crack analysis. Int. J. Solids Struct. 2024, 293, 112768. [Google Scholar] [CrossRef]
  28. Goona, N.K.; Parne, S.R.; Sashidhar, S. Distributed source scheme to solve the classical form of Poisson equation using 3-D finite-difference method for improved accuracy and unrestricted source position. Math. Comput. Simul. 2021, 190, 965–975. [Google Scholar] [CrossRef]
  29. Zapata, M.U.; Balam, R.I. High-order implicit finite difference schemes for two-dimensional Poisson equation. Appl. Math. Comput. 2017, 309, 222–244. [Google Scholar] [CrossRef]
  30. Feng, X.; He, R.; Chen, Z. H1-superconvergence of finite difference method based on Q1-element on quasi-uniform mesh for the 3D Poisson equation. Numer. Methods Partial Differ. Equ. 2020, 36, 29–48. [Google Scholar] [CrossRef]
  31. Reimer, A.S.; Cheviakov, A.F. A Matlab-based finite-difference solver for the Poisson problem with mixed Dirichlet-Neumann boundary conditions. Comput. Phys. Commun. 2013, 184, 783–798. [Google Scholar] [CrossRef]
  32. Jodra, J.L.; Gurrutxaga, I.; Muguerza, J.; Yera, A. Solving Poisson’s equation using FFT in a GPU cluster. J. Parallel Distrib. Comput. 2017, 102, 28–36. [Google Scholar] [CrossRef]
  33. Schumann, U.; Sweet, R.A. Fast Fourier transforms for direct solution of Poisson’s equation with staggered boundary conditions. J. Comput. Phys. 1988, 75, 123–137. [Google Scholar] [CrossRef]
  34. Ren, Y.; Feng, H.; Zhao, S. A FFT accelerated high order finite difference method for elliptic boundary value problems over irregular domains. J. Comput. Phys. 2022, 448, 110762. [Google Scholar] [CrossRef]
  35. Feng, H.; Zhao, S. FFT-based high order central difference schemes for three-dimensional Poisson’s equation with various types of boundary conditions. J. Comput. Phys. 2020, 410, 109391. [Google Scholar] [CrossRef]
  36. Costa, P. A FFT-accelerated multi-block finite-difference solver for massively parallel simulations of incompressible flows. Comput. Phys. Commun. 2022, 271, 108194. [Google Scholar] [CrossRef]
  37. Galbert, L. FFT-based simulations of heterogeneous conducting materials with combined non-uniform Neumann, periodic and Dirichlet boundary conditions. Eur. J. Mech. -A/Solids 2024, 105, 105248. [Google Scholar] [CrossRef]
  38. Wang, H.; Zhang, Y.; Ma, X.; Qiu, J.; Liang, Y. An efficient implementation of fourth-order compact finite difference scheme for Poisson equation with Dirichlet boundary conditions. Comput. Math. Appl. 2016, 71, 1843–1860. [Google Scholar] [CrossRef]
  39. Gatiso, A.H.; Belachew, M.T.; Wolle, G.A. Sixth-order compact finite difference scheme with discrete sine transform for solving Poisson equations with Dirichlet boundary conditions. Results Appl. Math. 2021, 10, 100148. [Google Scholar] [CrossRef]
  40. Tong, C.; Tong, X.; Wei, K. An efficient accelerating algorithm for 3D gravity anomalies forward modeling using discrete sine transform. J. Appl. Geophys. 2025, 241, 105831. [Google Scholar] [CrossRef]
  41. Morin, L.; Paxus, J. A fast numerical method for the conductivity of heterogeneous media with Dirichlet boundary conditions based on discrete sine-cosine transforms. Comput. Methods Appl. Mech. Eng. 2024, 421, 116772. [Google Scholar] [CrossRef]
  42. Britani, V.; Yip, P.C.; Rao, K.R. Discrete Cosine and Sine Transforms: General Properties, Fast Algorithm and Integer Approximations; Academic Press: Amsterdam, The Netherlands, 2006. [Google Scholar]
  43. Wang, X.; Zhao, D.; Liu, J.; Zhang, Q. Efficient 2D modelling of magnetic anomalies using NUFFT in the Fourier domain. Pure Appl. Geophys. 2022, 179, 2311–2325. [Google Scholar] [CrossRef]
  44. Wu, L. Efficient modelling of gravity effects due to topographic masses using the Gauss-FFT method. Geophys. J. Int. 2016, 205, 160–178. [Google Scholar] [CrossRef]
  45. Pan, K.; Zhang, Z.; Hu, S.; Ren, Z.; Guo, R.; Tang, J. Three-dimensional forward modelling of gravity field vector and its gradient tensor using the compact difference schemes. Geophys. J. Int. 2021, 224, 1272–1286. [Google Scholar] [CrossRef]
Figure 1. Uniform rectangular grid stencil (five-point cross) for 2D Poisson equation.
Figure 1. Uniform rectangular grid stencil (five-point cross) for 2D Poisson equation.
Mathematics 13 02776 g001
Figure 2. Three-Dimensional numerical grid stencil (seven-point cross) used for formulating the Poisson equation using the finite-difference approach.
Figure 2. Three-Dimensional numerical grid stencil (seven-point cross) used for formulating the Poisson equation using the finite-difference approach.
Mathematics 13 02776 g002
Figure 3. A comparison of the hybrid DST-accelerated finite-difference approximate solution with the analytical solution in case of the 2D problem with homogeneous DBCs.
Figure 3. A comparison of the hybrid DST-accelerated finite-difference approximate solution with the analytical solution in case of the 2D problem with homogeneous DBCs.
Mathematics 13 02776 g003
Figure 4. Comparison of the hybrid DST-accelerated finite-difference approximate solution with the analytical solution in the case of the 3D problem featuring homogeneous DBCs on the face at z = 0.5.
Figure 4. Comparison of the hybrid DST-accelerated finite-difference approximate solution with the analytical solution in the case of the 3D problem featuring homogeneous DBCs on the face at z = 0.5.
Mathematics 13 02776 g004
Figure 5. Numerical solution and absolute error for the 2D Poisson equation under non-homogeneous DBCs in y-direction.
Figure 5. Numerical solution and absolute error for the 2D Poisson equation under non-homogeneous DBCs in y-direction.
Mathematics 13 02776 g005
Figure 6. Numerical solution and absolute error for the 2D non-homogeneous DBCs problem in x-direction.
Figure 6. Numerical solution and absolute error for the 2D non-homogeneous DBCs problem in x-direction.
Mathematics 13 02776 g006
Table 1. Computational errors of our proposed hybrid solver compared to the traditional central finite-difference scheme for the 2D Poisson equation.
Table 1. Computational errors of our proposed hybrid solver compared to the traditional central finite-difference scheme for the 2D Poisson equation.
Mesh SizeHybrid DST-Accelerated Finite-Difference SolverTraditional Finite-Difference Scheme
16 × 161.2951%1.2951%
32 × 320.3219%0.3219%
64 × 640.0804%0.0804%
128 × 1280.0201%0.0201%
256 × 2560.0050%0.0050%
512 × 5120.0013%0.0013%
Table 2. Comparison of the computational time between our proposed hybrid solver and the traditional central finite-difference technique for the 2D problem.
Table 2. Comparison of the computational time between our proposed hybrid solver and the traditional central finite-difference technique for the 2D problem.
Mesh SizeHybrid DST-Accelerated Finite-Difference SolverTraditional Finite-Difference Scheme
16 × 160.01 s0.01 s
32 × 320.01 s0.02 s
64 × 640.03 s0.05 s
128 × 1280.04 s0.06 s
256 × 2560.09 s17.03 s
512 × 5120.87 s312.95 s
Table 3. Computational error of our proposed hybrid solver and the traditional central finite-difference approach for 3D Poisson equation.
Table 3. Computational error of our proposed hybrid solver and the traditional central finite-difference approach for 3D Poisson equation.
Mesh SizeHybrid DST-Accelerated Finite-Difference SolverTraditional Finite-Difference Scheme
8 × 8 × 85.3029%5.3029%
16 × 16 × 161.4282%1.4282%
32 × 32 × 320.3367%0.3367%
64 × 64 × 640.0821%0.0821%
128 × 128 × 1280.0203%0.0203%
Table 4. Comparison of computational efficiency between the proposed hybrid solver and the traditional central finite-difference approach in the case of the 3D problem.
Table 4. Comparison of computational efficiency between the proposed hybrid solver and the traditional central finite-difference approach in the case of the 3D problem.
Mesh SizeHybrid DST-Accelerated Finite-Difference SolverTraditional Finite-Difference Scheme
8 × 8 × 80.01 s0.01 s
16 × 16 × 160.01 s0.09 s
32 × 32 × 320.03 s6.32 s
64 × 64 × 640.09 s657.17 s
128 × 128 × 1281.61 s79,202.82 s
Table 5. Comparison of computational time and error between the proposed hybrid solver and the traditional finite-difference scheme for the 2D problem with non-homogeneous DBCs.
Table 5. Comparison of computational time and error between the proposed hybrid solver and the traditional finite-difference scheme for the 2D problem with non-homogeneous DBCs.
Mesh SizeHybrid DST-Accelerated Finite-Difference SolverTraditional Finite-Difference Scheme
Time (s)Error (%)Time (s)Error (%)
16 × 160.010.190.010.19
32 × 320.020.050.030.05
63 × 640.031.28 × 10−20.091.28 × 10−2
128 × 1280.043.23 × 10−30.373.23 × 10−3
256 × 2560.158.12 × 10−413.088.12 × 10−4
512 × 5121.282.03 × 10−4196.672.03 × 10−4
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Pei, J.; Tong, X. A Hybrid DST-Accelerated Finite-Difference Solver for 2D and 3D Poisson Equations with Dirichlet Boundary Conditions. Mathematics 2025, 13, 2776. https://doi.org/10.3390/math13172776

AMA Style

Pei J, Tong X. A Hybrid DST-Accelerated Finite-Difference Solver for 2D and 3D Poisson Equations with Dirichlet Boundary Conditions. Mathematics. 2025; 13(17):2776. https://doi.org/10.3390/math13172776

Chicago/Turabian Style

Pei, Jing, and Xiaozhong Tong. 2025. "A Hybrid DST-Accelerated Finite-Difference Solver for 2D and 3D Poisson Equations with Dirichlet Boundary Conditions" Mathematics 13, no. 17: 2776. https://doi.org/10.3390/math13172776

APA Style

Pei, J., & Tong, X. (2025). A Hybrid DST-Accelerated Finite-Difference Solver for 2D and 3D Poisson Equations with Dirichlet Boundary Conditions. Mathematics, 13(17), 2776. https://doi.org/10.3390/math13172776

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop