You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in avtUnstructuredDomainBoundaries.C is the stuff of nightmares.
Quadruple pointer indirection int ****cellPoints;,
variables that are declared and used for a bit before being used again for entirely different purposes (size_t nPts = givenPoints[index].size(); and then later nPts = idList->GetNumberOfIds(); in a loop),
The code in
avtUnstructuredDomainBoundaries.C
is the stuff of nightmares.int ****cellPoints;
,size_t nPts = givenPoints[index].size();
and then laternPts = idList->GetNumberOfIds();
in a loop),givenPoints.resize(givenPoints.size() + 1);
,int index = GetGivenIndex(fromDom, toDom);
and a few lines laterint sIndex = GetGivenIndex(fromDom, toDom);
,#define ExchangeData_unsigned_char ExchangeData<unsigned char>
,nGainedPoints[sendDom][recvDom] += (int) nPts;
versusnGainedTuples[sendDom][recvDom] = nTuples;
(+= is wrong in this case)Let's make it better.
The text was updated successfully, but these errors were encountered: