This commit is contained in:
Hrvoje Jasak 2013-06-27 13:02:42 +01:00
parent 6736d30bd7
commit f6487618db

View file

@ -110,7 +110,7 @@ Foam::tmp<Foam::Field<Type> > Foam::RBFInterpolation::interpolate
forAll (dataPoints_, flPoint) forAll (dataPoints_, flPoint)
{ {
// Cut-off function to justify neglecting outer boundary points // Cut-off function to justify neglecting outer boundary points
t = (Foam::mag(dataPoints_[flPoint] - focalPoint_) - innerRadius_)/ t = (mag(dataPoints_[flPoint] - focalPoint_) - innerRadius_)/
(outerRadius_ - innerRadius_); (outerRadius_ - innerRadius_);
if (t >= 1) if (t >= 1)