Commit 60fc51c4 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Again update due to last interface changes.

parent e8247874
......@@ -91,12 +91,10 @@ namespace AMDiS {
/// evaluation at given coordinates.
T operator()(const DimVec<double>& bary) const
{
T* localVec = new T[dofVector->getFeSpace()->getBasisFcts()->getNumber()];
mtl::dense_vector<T> localVec(dofVector->getFeSpace()->getBasisFcts()->getNumber());
dofVector->getLocalVector(this->elInfo->getElement(), localVec);
T t = dofVector->getFeSpace()->getBasisFcts()->evalUh(bary, localVec);
delete [] localVec;
return t;
return dofVector->getFeSpace()->getBasisFcts()->evalUh(bary, localVec);
}
protected:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment