Fix template issue
This commit is contained in:
parent
00797389d9
commit
b11fa82384
2 changed files with 4 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue