Fast variable density 3-D node generation
Kiera van der Sande, Bengt Fornberg

TL;DR
This paper introduces a fast, scalable method for generating variable density nodes in 2-D and 3-D, enhancing mesh-free PDE solvers by efficiently creating quasi-uniform node distributions with variable spacing.
Contribution
The paper presents a novel advancing front method for rapid generation of variable density nodes in higher dimensions, with linear computational complexity.
Findings
Generation cost is O(N) in 2-D and 3-D.
Method generalizes to higher dimensions.
Efficient node distribution for mesh-free solvers.
Abstract
Mesh-free solvers for partial differential equations perform best on scattered quasi-uniform nodes. Computational efficiency can be improved by using nodes with greater spacing in regions of less activity. We present an advancing front type method to generate variable density nodes in 2-D and 3-D with clear generalization to higher dimensions. The exhibited cost of generating a node set of size in 2-D and 3-D with the present method is O(N).
| Uniform Density | ||||
|---|---|---|---|---|
| Packing | Covering Radius | Mesh Ratio | ||
| Method | N | Density | ||
| Fornberg & Flyer | 1492 | 0.72 | 0.0216 | 0.746 |
| Slak & Kosec | 1429 | 0.70 | 0.0253 | 1.010 |
| Cartesian | 1681 | 0.79 | 0.0177 | 0.707 |
| Present method | 1698 | 0.83 | 0.0180 | 0.685 |
| Theoretical limit | - | 0.91 | 0.0125 | 0.5 |
| Variable Density | ||
|---|---|---|
| Mesh Ratio | ||
| Method | N | |
| Fornberg & Flyer | 36,328 | 0.756 |
| Slak & Kosec | 35,014 | 0.780 |
| Present method | 40,663 | 0.637 |
| Method | mean | std | mean range() |
|---|---|---|---|
| Fornberg & Flyer | 0.0291 | 0.0016 | 0.0114 |
| Slak & Kosec | 0.0299 | 0.0018 | 0.0127 |
| Cartesian | 0.0285 | 3.3e-16 | 0.0104 |
| Present method | 0.0270 | 0.0007 | 0.0080 |
| Method | N | Packing Density | Covering Radius | Mesh Ratio |
|---|---|---|---|---|
| Slak & Kosec | 7128 | 0.46 | 0.0537 | 1.073 |
| Cartesian | 9261 | 0.52 | 0.0433 | 0.866 |
| Present method | 9998 | 0.61 | 0.0447 | 0.887 |
| Theoretical limit | - | 0.74 | 0.0250 | 0.500 |
| Method | mean | std | mean range() |
|---|---|---|---|
| Slak & Kosec | 0.0608 | 0.0017 | 0.0254 |
| Cartesian | 0.0604 | 3.6e-15 | 0.0207 |
| Present method | 0.0546 | 8.8e-4 | 0.0163 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\newsiamremark
remarkRemark \newsiamremarkhypothesisHypothesis
\newsiamthmclaimClaim \headersFast variable density 3-D node generationK. van der Sande, and B. Fornberg
Fast variable density 3-D node generation††thanks: Submitted to the editors May 9, 2020.
\fundingThis research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.
Kiera van der Sande Department of Applied Mathematics, University of Colorado Boulder, Boulder, CO (). [email protected]
Bengt Fornberg Department of Applied Mathematics, University of Colorado Boulder, Boulder, CO (). [email protected]
Abstract
Mesh-free solvers for partial differential equations perform best on scattered quasi-uniform nodes. Computational efficiency can be improved by using nodes with greater spacing in regions of less activity. However, there is no ideal way to generate nodes for these solvers. We present an advancing front type method to generate variable density nodes in 2-D and 3-D with clear generalization to higher dimensions. The exhibited cost of generating a node set of size in 2-D and 3-D with the present method is .
keywords:
Node generation, variable density points, mesh-free PDE solvers, RBF-FD
{AMS}
65N99, 65Y20, 65M70
1 Introduction
Mesh-free methods for solving partial differential equations such as radial basis function-generated finite differences (RBF-FD) have become increasingly popular. These methods use scattered nodes of variable density rather than a mesh as a computational domain. RBF-FD methods allow for high geometric flexibility, but still require certain constraints on node sets in order to ensure solution accuracy and stability [10, 11]. For example, nodes that are locally too irregular can be problematic for the stability of PDE solvers. Hence, one key quality requirement is for nodes to be locally quasi-uniform i.e., if you zoom into a region of nodes they should be close to equispaced (see Appendix A for more rigorous definitions of node quality). Node generation algorithms should also satisfy minimum spacing and bounded gaps between nodes and their neighbors, and have the ability to spatially vary node density in a prescribed manner. In general, placing nodes in a domain is reminiscent of circle packing in 2-D and sphere packing in 3-D. Optimal node sets for a given node spacing should be as densely packed as possible while maintaining a prescribed distance between nodes.
Node generation remains a bottleneck for mesh-free PDE solvers, especially in higher than 2 dimensions or where variable density is desired. Recent work has been done on producing quality node sets specifically for RBF-FD [8, 9, 19, 22]. Here we build off the method of 2-D node generation from Fornberg & Flyer [9] to generate nodes in higher dimensions. This previous method was constrained to 2 dimensions due to the way that nodes were generated and stored. The present method utilizes a background grid and local searches to allow quality nodes of variable density to be generated in 2-D or 3-D according to a desired node spacing function, with the ability to generalize to higher dimensions. The algorithm also guarantees a minimum spacing requirement between nodes. In this work we do not seek to further demonstrate the robustness of RBF-FD and other mesh-free PDE methods, rather to fill the need for locally quasi-uniform and variable density node sets that these methods require [1, 8, 10].
Current methods of node generation can be categorized broadly into iterative methods, sphere packing methods and advancing front methods. Often unstructured grid generators are used and nodes extracted as the vertices of the mesh. This is, however, computationally wasteful since RBF-FD methods make no use of the often costly step of connecting nodes into good aspect ratio elements. Iterative methods begin with an initial node set and update their positions through either a form of energy minimization [13], short-range interaction forces [17] or gradient flow [22]. These methods are strongly dependent on their initial configuration and can be costly. Sphere and circle packing methods can be extended to arbitrary dimension and can be parallelizable, but are often constrained to constant sphere radii (i.e. constant node density). These methods include Poisson disk sampling [4, 7, 20], which is used for sampling in the graphics community and was recently introduced as a method of generating nodes for RBF-FD [18]. There has been some interest in defining the requirements for variable radii in this context [16]. Advancing front methods are computationally more efficient and relatively simple to implement. The proposed method in this paper is an advancing front type method, as is the original in [9] and the work of [14, 15, 19].
The rest of the paper is organized as follows: Section 2 outlines the method in 3-D and presents two possible modifications to the basic method; Section 3 investigates different metrics of node quality and compares the present method to other node sets in 2-D and 3-D; and Section 4 demonstrates the application of the method for use in RBF-FD. Conclusions and future work are presented in Section 5.
2 Node generation in arbitrary dimension
2.1 The basic node generation algorithm
We outline the algorithm for generating node sets by first considering the 3-D case in a bounded box. The desired spatial density of the nodes is specified through an exclusion radius function , which can be any 3-D function and defines the minimum spacing between nodes.
The method is an advancing-front type method, which relies on a background grid. In 3-D this is a dense grid in one Cartesian plane and the front progresses in the normal direction to it. For simplicity the grid is considered to be in the -plane and the front to move in the increasing -direction. The grid is stored as an array of ‘potential dot placements’ (PDPs) with associated ‘heights’ in the normal direction. These heights are initialized as the bottom -plane of the boundary box plus a small random perturbation (on the order of the minimum desired distance between nodes at ). The first placed node is chosen as the minimum of these heights. The method proceeds as described in Algorithm 1.
In 3-D and higher there is no way to sort the PDPs to track the global minimum, as there was in the 2-D method of [9]. In order to find a close local minimum to the last placed node , an iterative moving window search over the PDPs is used. The minimum of the updated heights is set as and iterations are taken from there to find a local minimum. At each iteration, is set to be the minimum of the PDPs within a radius of of . This continues until is within of . If the edge of the box is reached, the search wraps around to the other side of the domain. MATLAB code for the algorithm is provided in [21]. A visual representation of the algorithm in 2-D is shown in Fig. 1.
Note that the resolution of the background grid will have an effect on the resulting node set. The grid should be fine enough to resolve spatial varying node densities, but not so fine as to impede efficiency. Experiments showed that setting of the background grid to be 10 times smaller than the minimum desired exclusion radius is a good compromise. Lower grid density gave way to discretization errors in finding local minima so nodes ended up further apart than desired, while increasing grid density above a factor of around did not significantly change the resulting node quality. Timing tests also showed that reducing the background grid density further gave no additional benefit as the cost is dominated by other factors. Unless otherwise stated, a factor of 10 will be used throughout this work.
We are interested in interior nodes so we generate nodes in a box (or sphere, as described later in Section 2.4). In order to create node sets in more complex domains, nodes should first be generated in a bounding box and points outside the desired domain discarded after the box is filled. If desired, boundary nodes can then be added manually. A final step would simulate local electrostatic repulsion on nodes near the boundary, as described in [9] and utilized in [1, 8]. Treatment of boundaries in RBF-FD has been described previously in [2, 3].
Generating nodes in higher dimension will require a PDP array of dimension and the front will advance in the last dimension. For example in 4-D, the background PDP grid will be a 3-D array and nodes will be placed in increasing ‘height’ in the 4th dimension.
2.2 Spatial density function and exclusion radius
The exclusion radius is given by a 3-D function that prescribes the desired distance between nodes. Setting a uniform exclusion radius for this method will guarantee a minimum spacing of between nodes. In the case of a spatially varying exclusion radius, a minimum spacing requirement can be defined based on the exclusion radius of the previously placed nodes (prior-disks), the current node (current-disks), or some function of the two (See Appendix A for further details).
The present method naturally adheres to the prior-disks variation as the exclusion radii of the previously placed nodes defines the position that the current node will be placed at. We propose a couple ways to deal with variations of this minimal spacing requirement in Section 2.3 and Section 2.4.
2.3 Direction dependence and a possible correction
In the algorithm each node is placed based on the exclusion radii of the previously placed nodes and then the front is updated to include the exclusion radii of the new node. However this may lead to a directional dependence since the front advances in one particular direction (i.e. the Cartesian -direction). An exclusion radius function which varies in will then have some systematic error in the -direction. There are several possible ways to correct for this direction dependence and satisfy different minimal spacing requirements. Here we introduce one possible correction in the spirit of a bigger-disks minimal spacing.
A first order correction is added when placing a new node . Before placing the node, a check is performed of whether any already placed nodes are within the exclusion radius of the new node. In order to avoid an expensive search of the list of previously generated nodes we store an additional array, which is the same size as the background grid and initialized with null values. Each element in this array corresponds to an location in the background grid. When a node is placed at a given location a pointer to that node’s place in the list of generated nodes is stored in the corresponding element of this additional array. This allows for a check of only close enough background grid elements to see if there are any placed nodes nearby. If any nodes are within , the height of the new node is increased until its own exclusion radius is satisfied. In 3-D, this correction can be written as:
[TABLE]
where is the position of the nearest neighbor. The new node is then placed at .
2.4 A modification for spherical density functions
Often it is desirable to have node density vary in the radial direction, i.e. in modeling an atom or the atmosphere. Another option for avoiding direction dependence in this case is to construct the node set as a radially advancing front. This method allows better control of whether the minimal spacing requirement should be based on the minimum, maximum, or average exclusion radius between the current node to be placed and the previously placed nodes. When placing the next node based on the exclusion radii of previous nodes, the bias will be in the radial direction rather than the -direction, which will allow for better radial symmetry.
To implement this modification, instead of starting with a background grid in the -plane a grid can be constructed in and the algorithm can be carried out in spherical coordinates building outwards from the origin.
3 Generated node sets
Nodes are generated in 2-D and 3-D, and compared to existing algorithms. For the measures of node quality used in the following section, we refer to Appendix A.
3.1 Nodes in 2-D
As a first test case, nodes are generated in the unit square with constant exclusion radius . They are compared to nodes generated by the original Fornberg & Flyer method [9] and nodes generated by the recent Slak & Kosec method [19] as well as a Cartesian lattice. Note that both methods have a parameter to adjust, which corresponds to the number of sample points generated at each step. We use the recommended for Fornberg & Flyer and for Slak & Kosec. The three node sets can be seen in Fig. 2. The optimal circle packing in the plane is hexagonal and visually one can see that the present method results in nodes most similar to this.
One of the advantages of the present method compared to a lattice structure or Halton node set is the ability to handle prescribed variable density functions. To demonstrate the ability to generate locally quasi-uniform nodes of highly variable density with sharp gradients, we consider the common test case for image rendering found online as ‘trui.png’. The radial exclusion function is based off the gray-scale information of the image so that more nodes are placed in darker areas. Fig. 3 depicts the original image and the resulting dithered nodes using the present method, while Fig. 4 shows a close-up comparing the three algorithms. Note that the same radial exclusion function results in different numbers of generated nodes for each method. The present algorithm is able to achieve the highest density while still satisfying the minimum spacing constraint of the function. Qualitatively, the nodes also look the most locally regular.
Table 1 compares the quality metrics defined in Appendix A for the uniform node sets and Table 2 compares the dithered node sets. Both the mesh ratio and packing density are unit free metrics that don’t depend on the number of nodes being placed. The present method has the highest number of nodes and smallest mesh ratio . The packing density gives a way to compare to the optimal hexagonal circle packing density . The present method is closest to this optimal density. Note that for the uniform case, should be close to half of the prescribed spacing . For the variable density case, is not included since as the exclusion radius is varying the ratio is more descriptive.
Looking at the mesh norm gives an idea of whether the nodes are well-spaced and quasi-uniform. However, it is not a perfect metric. These metrics only take into account the maximum gap and minimum distance between neighbors, not the distribution of gaps over the whole node set. A Cartesian grid will have the same gap and minimum distance over the whole node set while nodes generated by the present method have smaller gaps overall, which is why is closer to the maximal packing, but may have a few nodes with larger gaps than the grid. This is why the Cartesian grid has a smaller covering radius than the present method. In fact Cartesian grids are non-optimal for RBF-FD due to poor conditioning and accuracy issues [10], which are investigated in Section 4.
To get a better idea of the variation over the node set, local regularity can be observed from the distribution of distance to the nearest neighbors , for each node . Table 3 compares statistics based on 6 nearest neighbors for the uniform node sets. We use based on hexagonal circle packing. Here, the present method gives the closest to the prescribed with a small standard deviation and mean range().
One way to visualize this distribution of nearest neighbors is through a histogram plot, as seen in [18, 22]. The distance to nearest neighbor can be scaled by the exclusion radius function so a sharp peak is expected around 1 with some spread to the right. This can be seen in the histograms in Fig. 5. The 6 neighbors in the Cartesian lattice are fixed at one of two distances as expected in a grid lattice. More neighbors are at the prescribed distance in the present method than Slak & Kosec.
3.2 Nodes in 3-D
Moving on to the 3-D case, nodes were generated in the unit cube. A uniform node set with prescribed exclusion radius is compared to a Cartesian lattice and a node set generated with the method from [19] in Table 4. Note there is no comparison to [9] as this method does not generalize to higher dimensions. As in the 2-D case, is smaller for a Cartesian grid than for the nodes generated by the present method. On all other metrics the present method performs best.
Optimal packing density in higher than 2 dimensions is a classic challenging mathematical problem [5]. The optimal 3-D packing density is achieved by a family of close packed lattices, which have a packing density of . For the present method, background density was increased to a factor of 100 to determine the average packing density. Using the usual factor of 10 would decrease cost and only compromise on quality by about .
Table 5 compares statistics based on 12 nearest neighbors for the same 3 uniform node sets. We use based on dense sphere packings like cubic close packing and hexagonal close packing where each sphere is surrounded by 12 others. Here, the present method gives the closest to the prescribed with a small standard deviation and mean range().
Histogram plots in Fig. 6 show the distribution of distance to the nearest 12 neighbors. Again the neighbors in the Cartesian lattice are fixed at one of two distances as expected in a grid lattice. More neighbors are at the prescribed distance in the present method than Slak & Kosec, with a smoother tail.
3.3 Execution Time
We investigate the time complexity of the present method through numerical experiments. Node generation cost is expected to scale with number of nodes placed for a fixed background grid density factor. In Fig. 7 we observe convergence for both uniform density and variable density node sets in 2-D and 3-D.
There are two while loops in the given algorithm. The outer loop runs until the nodes are out of the bounding box. Since the algorithm satisfies minimum spacing between nodes, an upper bound on the number of nodes to be placed in bounding box of dimension , and thus the number of loop iterations, is given by
[TABLE]
For a bounded box volume and , this is a finite bound.
The inner loop is an iteration to find a local minimum. In the worst case scenario, this minimum search will continue until the global minimum is found. The global minimum exists for a bounded box, since the projection onto the plane orthogonal to the direction is also a finite area which we denote . Thus the maximum number of iterations for node is bounded as
[TABLE]
which is also finite for an exclusion radius function .
In practice, the number of iterations to find a local minimum is significantly less than this upper bound. For the 2-D uniform node set shown in Fig. 2(c) the average number of iterations per node is , while for the 2-D trui node set the average is . For the 3-D uniform node set the average number of iterations is . Although the maximum number of iterations does increase as the density increases, the average remains around 2 in all the experiments detailed in this work.
3.4 Direction dependence correction results
The original algorithm is compared to the correction method described in Section 2.3 and the radially built method described in Section 2.4 for a radially varying node density. As we have already compared the present algorithm to other recent methods in Section 3.1 and Section 3.2, we only compare to the present algorithm in this section. The exclusion radius function
[TABLE]
is used as a test case, where is the distance to the origin, and and are parameters that change the shape of the function. Fig. 8 shows a node set using and .
Two radially built variations are investigated. Variation (1) uses an exclusion radius based on previously placed nodes, while variation (2) uses the maximum exclusion radius between the current node and the previously placed nodes.
First, the distance to nearest neighbor is compared to the prescribed exclusion radius function, both as a function of distance to the origin, in Fig. 9. The corrected version more closely aligns to the exclusion radius function than the original algorithm, but the radially built node set does even better.
To investigate the bias in the -direction, the distance to nearest neighbor is plotted as a function of and compared between node sets in Fig. 10. As previously, the distance to nearest neighbor is normalized by dividing by the desired exclusion radius. Here we only compare the original algorithm to both radially built variations. One can see how the radially built node sets avoid the bias seen in the original algorithm and how imposing different minimal spacing requirements through the exclusion radius can affect the distribution of nodes.
For additional insight, the distance to nearest neighbors can be considered as well. In Fig. 11, a 2-D histogram shows the normalized distances to the 6 nearest neighbors as a function of .
4 Node sets for RBF methods
Here we investigate the application of generated node sets to RBF-FD. The purpose of this work is not to further the development of these meshless methods for solving PDEs. It is instead to present a useful tool for node generation. Hence we will look at the condition number of the collocation matrix as an indicator of the application to RBF-FD methods, and the results of a local interpolation.
4.1 Condition Number
RBF-FD makes use of a collocation matrix to obtain the weights for each local stencil of size [10]. One measure of node quality for discretizing PDEs is the condition number of this matrix. The condition number is calculated for a uniform node set of nodes in the 3-D unit cube. A Gaussian kernel is used as the basis function, where is the Euclidean distance from the collocation point and is the shape parameter. The condition number is averaged over 300 stencils centered around random points taken from a normal distribution centered in the cube. The result is compared to a Halton node set, a Cartesian lattice, and one generated by the method of Slak & Kosec in Fig. 12. Similar results where the present method and Slak & Kosec have the lowest condition numbers can be obtained by instead fixing the minimum spacing between node sets (for all except the Halton set) and allowing to vary.
It is important to remember that the condition number is not the most useful for measuring node quality, as opposed to the quality metrics investigated in previous sections. In [10] it was noted that node irregularity can in some cases reduce condition numbers even while damaging accuracy. When using Gaussian RBFs, a higher condition number can actually give higher accuracy up to a breakpoint where the error spikes. There exist stable algorithms for Gaussian RBFs which bypass these issues in conditioning [10, 12]. When using polyharmonic splines augmented with polynomials, as is increasingly popular [2, 3], the condition number becomes irrelevant.
4.2 Local Interpolation
Local interpolation with RBFs provides insight into node quality without getting into the details of solving specific PDEs. We consider a test case of using RBF-FD to calculate a local interpolant to where is the distance from the origin. Using the same node set in the unit cube, the interpolant was calculated at 100,000 different points using a local stencil of size nodes. The resulting error is compared for different values of the shape parameter in Fig. 13. The results are shown for both fixed and fixed minimum spacing . For the fixed spacing, we compared to a Halton set with the same number of nodes as the present method.
5 Conclusions
Methods like RBF-FD for solving PDEs on scattered nodes require that nodes be locally regular and often spatially varying in density. These nodes should satisfy minimum spacing and bounded gaps between nodes. The present method is demonstrated to generate quality node sets in 2-D and 3-D and performs well in comparison to other node sets. It is simple to implement and computationally fast. More complex domains can be treated by generating nodes in a bounded box and then eliminating nodes outside the desired domain. From there, boundary treatment has been discussed in [9]. Finally, for radially varying density functions a slight modification of the algorithm can allow nodes to be generated in spherical coordinates to reduce bias in the direction of the advancing front. Tests with variable density demonstrated the ability to handle gradients in the radial exclusion function. There may be difficulty in contexts where extreme refinement in small areas of the domain is desired, as this may increase the background grid density to a point where the computational efficiency is lost. Future directions include generating nodes from a given boundary set and investigating extensions to adaptive node generation. Source code for the present node generation algorithm in 2-D and 3-D is available at [21].
Appendix A Measuring node set quality
There is no general metric of a ‘good node set’, rather, various characteristics are advantageous for different applications. Good point sets for mesh generation or PDE solvers may differ from good points for rendering images or for numerical integration. Low discrepancy is a measure of node quality that has been heavily investigated in relation to numerical integration and Monte Carlo simulations, and has been proposed as a measure of quasi-random node sets [6]. However, a sequence can have low discrepancy despite having arbitrarily close spacing between nodes: if a pair of points are very close together within a node set of points, they only add at most to the discrepancy.
Well-spaced nodes have been defined as satisfying a minimal spacing requirement and having bounded gaps [20]. These requirements are desirable for mesh-free PDE solvers. The minimal spacing requirement for a uniform density of nodes is clear: given a specified node spacing
[TABLE]
for any two distinct nodes and . For the variable density case, the minimal spacing requirement, otherwise known as the empty disk property, is
[TABLE]
where is the closest placed node to a new candidate node and may be one of the variations described by Mitchel et al [16]:
[TABLE]
The bounded gaps requirement states that there is an upper bound on the maximum radius of a sphere that can be placed within the node set without including any nodes. As with minimum spacing, this bound should be constant in the case of uniform density nodes, but can be modified for variable density. A node set satisfies the -gap property if for exclusion radius function , the maximum sphere that can be placed within the node set without including any nodes has a radius bounded by where is a constant [20].
In the context of RBF-FD it is desirable that nodes be “locally quasi-uniform”, which can be understood intuitively as being roughly equispaced when zoomed in. The term quasi-uniform is well defined on a global sense. A sequence of node sets of size are globally quasi-uniform if the mesh ratio
[TABLE]
where is the covering radius and is the maximum distance to the nearest neighbor over the whole set, is bounded as [13]. This corresponds to minimizing and maximizing over the whole node set. Although this is a global quality and for variable density node sets one might be interested in looking at the mesh ratio on smaller local patches, it is still always desirable to minimize the global mesh ratio.
If a Voronoi diagram is constructed from a node set, the covering radius of a node set can be measured as the furthest distance from a node to a vertex of its corresponding Voronoi cell [5]. Node generation may also be characterized as a sphere packing problem. The sphere packing problem is often separated into a packing problem or a covering problem and a solution to one may not be good for the other. Both can be measured based on a node set’s Voronoi diagram. A good packing maximizes the radius of the inscribed circle of the Voronoi cells, while a good covering minimizes the covering radius, which is the radius of the circumscribed circle of the Voronoi cells [5]. It is natural, therefore to look at the ratio in (8) as a balance between both problems. In using a Voronoi diagram to investigate these metrics, only interior nodes are considered as the Voronoi cells go to infinity at the edges.
For a node set that satisfies minimal spacing requirements the distance to nearest neighbor is bounded below as . Then the problem of minimizing can also be reformulated as maximizing the number of nodes in the domain, . To compare further to circle packing, for a uniform node set in 2-D the packing density can be calculated by considering circles around each node, summing the area of the circles within the domain and dividing by the area of the domain. The circles should be half the radius of the exclusion radius. When calculating this packing density, the domain is a box taken from the center of the whole node set in order to avoid boundary effects. It is known that the optimal packing density in the plane is hexagonal, which has a density of . The closer the 2-D packing density is to this, the better.
A final desirable quality in a node set is local regularity, which requires taking into account the distance to nearest neighbors. The neighbors for each node are found and denoted for . The distance to each neighbor is calculated as and an average can be taken over the k neighbors for each node . The average and standard deviation can be taken over the node set as well as the average range of . Again only internal nodes are used to avoid boundary effects.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Ahmad, Siraj-ul-Islam, and E. Larsson , Local meshless methods for second order elliptic interface problems with sharp corners , Journal of Computational Physics, 416 (2020), p. 109500.
- 2[2] V. Bayona, N. Flyer, and B. Fornberg , On the role of polynomials in RBF-FD approximations: III. Behavior near domain boundaries , Journal of Computational Physics, 380 (2019), pp. 378–399.
- 3[3] V. Bayona, N. Flyer, B. Fornberg, and G. Barnett , On the role of polynomials in RBF-FD approximations: II. Numerical solution of elliptic PD Es , Journal of Computational Physics, 332 (2017), pp. 257–273.
- 4[4] R. Bridson , Fast Poisson disk sampling in arbitrary dimensions. , in SIGGRAPH sketches, 2007, p. 22.
- 5[5] J. Conway and N. Sloane , Sphere Packings, Lattices and Groups , Springer, New York, 2nd ed., 1993.
- 6[6] C. Doerr, M. Gnewuch, and M. Wahlström , Calculation of discrepancy measures and applications , in A Panorama of Discrepancy Theory, Springer, 2014, pp. 621–678.
- 7[7] D. Dunbar and G. Humphreys , A spatial data structure for fast Poisson-disk sample generation , in ACM Transactions on Graphics (TOG), vol. 25, ACM, 2006, pp. 503–508.
- 8[8] N. Flyer and E. Lehto , Rotational transport on a sphere: Local node refinement with radial basis functions , Journal of Computational Physics, 229 (2010), pp. 1954–1969, https://doi.org/10.1016/j.jcp.2009.11.016 . · doi ↗
