Commit f5195017 authored by Thomas Witkowski's avatar Thomas Witkowski

Fix bug for multi mesh usage.

parent 805f4b62
......@@ -102,12 +102,8 @@ namespace AMDiS {
Element *el = smallElInfo->getElement();
lastVecEl = lastMatEl = NULL;
if ((el != lastMatEl && el != lastVecEl) || !operat->isOptimized()) {
if (smallElInfo == colElInfo)
initElement(smallElInfo);
else
initElement(smallElInfo, largeElInfo);
}
if ((el != lastMatEl && el != lastVecEl) || !operat->isOptimized())
initElement(smallElInfo, largeElInfo);
if (el != lastMatEl || !operat->isOptimized()) {
if (rememberElMat)
......
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