27#include "addToRunTimeSelectionTable.H"
40Foam::TPS::TPS(
const scalar radius)
47Foam::TPS::TPS(
const dictionary& dict)
50 radius_(readScalar(dict.lookup(
"radius")))
64 const vectorField& controlPoints,
65 const vector& dataPoint
68 scalarField dist = mag(controlPoints - dataPoint).ref();
69 scalarField RBF(dist.size());
74 RBF[
i] = sqr(dist[
i]) * log(dist[
i]);
forAll(example_CG.gList, solutionI)
virtual scalarField weights(const vectorField &controlPoints, const vector &dataPoint) const
addToRunTimeSelectionTable(Filter, IntegralFilter, dictionary)
defineTypeNameAndDebug(Filter, 0)