BUG: renumberMesh: conversion scalar*label -> label

This commit is contained in:
mattijs
2013-08-12 12:02:56 +01:00
parent 736e45960b
commit 2f9111a50a

View File

@ -136,7 +136,13 @@ void getBand
}
bandwidth = max(cellBandwidth);
profile = sum(1.0*cellBandwidth);
// Do not use field algebra because of conversion label to scalar
profile = 0.0;
forAll(cellBandwidth, cellI)
{
profile += 1.0*cellBandwidth[cellI];
}
sumSqrIntersect = 0.0;
if (calculateIntersect)