View Issue Details

IDProjectCategoryView StatusLast Update
0000859OpenFOAMBugpublic2013-05-29 10:03
Reporterjacob Assigned Touser2 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version12.04
Summary0000859: Debug output in AMIInterpolation::findTargetFace causes abort.
DescriptionLines 217-222 of findTargetFace method in AMIInterpolation.C read

if (debug)
{
    Pout<< "Source point = " << srcPt << ", Sample point = "
        << sample.hitPoint() << ", Sample index = " << sample.index()
        << endl;
}

But whenever a hit was a miss, sample.hitPoint() will abort. A simple check like

if (sample.hit()) ...

is needed here. Thanks.
TagsNo tags attached.

Activities

user2

2013-05-29 10:03

  ~0002249

Thanks for the report - fixed by commit 97220bb

Issue History

Date Modified Username Field Change
2013-05-21 08:39 jacob New Issue
2013-05-29 10:03 user2 Note Added: 0002249
2013-05-29 10:03 user2 Status new => resolved
2013-05-29 10:03 user2 Fixed in Version => 2.2.x
2013-05-29 10:03 user2 Resolution open => fixed
2013-05-29 10:03 user2 Assigned To => user2