Research Article

Local RBF-FD-Based Mesh-free Scheme for Singularly Perturbed Convection-Diffusion-Reaction Models with Variable Coefficients

Algorithm 1

Local RBF-FD scheme algorithm.
Input kmin, kmax, increment
k = 1;
while (k < kmin or k > kmax). produce interpolation matrix say A; use [U, S,V] = svd(A); K = max(S)/min(S)
 if K < minK
  shape = shape − increment;
 elseif K > maxK
  shape = shape + increment;
 end
end