View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001151 | OpenFOAM | Bug | public | 2014-02-06 11:23 | 2014-02-18 09:14 |
Reporter | wyldckat | Assigned To | |||
Priority | low | Severity | trivial | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Summary | 0001151: Stray lines spotted in "fieldMinMaxTemplates.C" | ||||
Description | In reference to the commit "d1a855ac2674afecb290735cde35d25830660834", in the file "src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C", the following two lines seem to be a bit lost for the "case mdCmpt", in line 167 and 168: Pstream::gatherList(minVs); Pstream::gatherList(minCs); The two lines are shown commented out in the "Steps To Reproduce". Direct link to the lines in question in the online repository: https://github.com/OpenFOAM/OpenFOAM-2.2.x/blob/d1a855ac2674afecb290735cde35d25830660834/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C#L167 | ||||
Steps To Reproduce | List<Type> minVs(Pstream::nProcs()); List<vector> minCs(Pstream::nProcs()); label minProcI = findMin(field); minVs[procI] = field[minProcI]; minCs[procI] = field.mesh().C()[minProcI]; //Pstream::gatherList(minVs); //Pstream::gatherList(minCs); List<Type> maxVs(Pstream::nProcs()); List<vector> maxCs(Pstream::nProcs()); label maxProcI = findMax(field); maxVs[procI] = field[maxProcI]; maxCs[procI] = field.mesh().C()[maxProcI]; | ||||
Additional Information | Sorry, don't have a Linux machine with OpenFOAM handy at the moment, to produce a patch file :( | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-06 11:23 | wyldckat | New Issue | |
2014-02-18 09:14 |
|
Note Added: 0002839 | |
2014-02-18 09:14 |
|
Status | new => resolved |
2014-02-18 09:14 |
|
Fixed in Version | => 2.3.x |
2014-02-18 09:14 |
|
Resolution | open => fixed |
2014-02-18 09:14 |
|
Assigned To | => user2 |