ENH: cleanup codeStream - use dynamicCode, dynamicCodeContext encapsulation
Problems remain with codedFixedValueFvPatchScalarField: - readIfModified() notices change on system/codeDict, but the codeProperties::setUnmodified() means that only a single entry will get processed - it appears that while dlclose() may (or may not) be actually closing the library, there are probably still references about. This means that a subsequent reloading still points to the original functions and the lookup is not updated correctly.
Showing
- doc/changes/dynamicCode.org 1 addition, 1 deletiondoc/changes/dynamicCode.org
- etc/codeTemplates/dynamicCode/codeStreamTemplate.C 2 additions, 2 deletionsetc/codeTemplates/dynamicCode/codeStreamTemplate.C
- src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.C 29 additions, 32 deletions...OAM/db/dictionary/functionEntries/codeStream/codeStream.C
- src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.H 2 additions, 2 deletions...OAM/db/dictionary/functionEntries/codeStream/codeStream.H
- src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C 205 additions, 130 deletionssrc/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.C
- src/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.H 117 additions, 42 deletionssrc/OpenFOAM/db/dynamicLibrary/dynamicCode/dynamicCode.H
- src/finiteVolume/fields/fvPatchFields/derived/codedFixedValue/codedFixedValueFvPatchScalarField.C 146 additions, 105 deletions...rived/codedFixedValue/codedFixedValueFvPatchScalarField.C
- src/finiteVolume/fields/fvPatchFields/derived/codedFixedValue/codedFixedValueFvPatchScalarField.H 7 additions, 5 deletions...rived/codedFixedValue/codedFixedValueFvPatchScalarField.H
Please register or sign in to comment