Research Article
A GPU-Accelerated 3D Mesh Deformation Method Based on Radial Basis Function Interpolation
Algorithm 1
Kernel function for constructing matrix
. | function MatrixConstruction | | Input: Matrix containing the coordinates of boundary grid nodes | | Output: Matrix described in Section 2 | | /∗ thread index , number of inner grid nodes ∗/ | | if then | | for to do | | ; //: distance between two boundary nodes | | /∗ : support radius ∗/ | | if then | | ; //: Radial basis function | | else | | | | end | | end | | end |
|