64 const vectorField& controlPoints,
65 const vector& dataPoint
68 scalarField dist = mag(controlPoints - dataPoint).ref();
69 scalarField RBF(dist.size());
70 RBF = neg(dist - radius_) *
71 Foam::max(pow4(1 - (dist / radius_)), scalar(0)) * (1 + 4 * (dist / radius_));