ENH: avoid redundant IO in readFields function object (fixes #1825)
- read header info once and reuse - short-circuit logic to avoid unneeded checks - additional debug information if field cannot be found STYLE: remove unused old code remnants from #1206
Showing
- src/functionObjects/field/readFields/readFields.C 43 additions, 13 deletionssrc/functionObjects/field/readFields/readFields.C
- src/functionObjects/field/readFields/readFields.H 9 additions, 5 deletionssrc/functionObjects/field/readFields/readFields.H
- src/functionObjects/field/readFields/readFieldsTemplates.C 25 additions, 83 deletionssrc/functionObjects/field/readFields/readFieldsTemplates.C
Please register or sign in to comment