Commit f76f4f88 authored by Nestler, Michael's avatar Nestler, Michael

No commit message

No commit message
parent de6bb9ba
......@@ -959,8 +959,10 @@ namespace AMDiS {
if (oldElInfo)
oldElInfo = elInfo;
if (!inside)
if (!inside){
delete elInfo;
return false;
}
basFcts->getLocalIndices(elInfo->getElement(), this->feSpace->getAdmin(), localIndices);
......@@ -1902,16 +1904,17 @@ namespace AMDiS {
}
elInfo = stack.traverseNext(elInfo);
}
DOFVector<double>::Iterator volIt(&volume, USED_DOFS);
typename DOFVector<typename GradientType<T>::type>::Iterator grdIt(result, USED_DOFS);
for (volIt.reset(), grdIt.reset(); !volIt.end(); ++volIt, ++grdIt)
if (*volIt != 0.0)
*grdIt *= 1.0 / (*volIt);
return result;
}
......
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