Fix template issue

This commit is contained in:
Hrvoje Jasak 2011-05-26 11:29:40 +01:00
parent 00797389d9
commit b11fa82384
2 changed files with 4 additions and 2 deletions

View file

@ -152,6 +152,8 @@ void Foam::RBFInterpolation::calcB() const
// Collect ALL control points from ALL CPUs
// Create an identical inverse for all CPUs
Info<< "Inverting RBF motion matrix" << endl;
BPtr_ = new scalarSquareMatrix(A.LUinvert());
}

View file

@ -72,7 +72,7 @@ Foam::tmp<Foam::Field<Type> > Foam::RBFInterpolation::interpolate
// 3) Return displacements using tresult()
const label nControlPoints = controlPoints_.size();
const scalarSquareMatrix& mat = B();
const scalarSquareMatrix& mat = this->B();
// Determine interpolation coefficients
Field<Type> alpha(nControlPoints, pTraits<Type>::zero);