View Issue Details

IDProjectCategoryView StatusLast Update
0001406OpenFOAMBugpublic2015-02-24 17:04
Reporteruser38Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001406: wrong map from origId to zone name
Descriptionthere is a bug in unsortedMeshedSurface<Face>::sortedZones
template<class Face>
Foam::surfZoneList Foam::UnsortedMeshedSurface<Face>::sortedZones
(
    labelList& faceMap
) const
{
    // supply some zone names,
    //the following code is used to map the zone originId to its name?
    Map<word> zoneNames;
    forAll(zoneToc_, zoneI)
    {
        zoneNames.insert(zoneI, zoneToc_[zoneI].name());
    }
    if it is so, it seems that the above codes should be changed to

    Map<word> zoneNames;
    forAll(zoneToc_, zoneI)
    {
        zoneNames.insert(zoneToc_[zoneI].index(), zoneToc_[zoneI].name());
    }
TagsNo tags attached.

Activities

wyldckat

2015-01-17 21:09

updater   ~0003552

Greetings su_junwei,

Any chance you can provide a test case or example scenario that demonstrates this bug?

I ask this because I have taken a look at the file "src/surfMesh/UnsortedMeshedSurface/UnsortedMeshedSurface.C" and the method "sortedZones" therein, but I haven't managed to figure out how this could be tested/proved.

Best regards,
Bruno

henry

2015-02-24 17:04

manager   ~0003890

Orphaned report

Issue History

Date Modified Username Field Change
2014-10-01 17:06 user38 New Issue
2015-01-17 21:09 wyldckat Note Added: 0003552
2015-02-24 17:04 henry Note Added: 0003890
2015-02-24 17:04 henry Status new => closed
2015-02-24 17:04 henry Assigned To => henry
2015-02-24 17:04 henry Resolution open => fixed