View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001406 | OpenFOAM | Bug | public | 2014-10-01 17:06 | 2015-02-24 17:04 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0001406: wrong map from origId to zone name | ||||
Description | there 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()); } | ||||
Tags | No tags attached. | ||||
|
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 |
|
Orphaned report |