versatility improvement: #includeIfPresent dictionary directive
- similar to the #include directive, but does not generate an error if the file does not exist. Note: opted for an explicit naming #includeIfPresent rather than #cinclude
Showing
- ReleaseNotes-1.6 2 additions, 0 deletionsReleaseNotes-1.6
- applications/test/dictionary/testDict 1 addition, 0 deletionsapplications/test/dictionary/testDict
- src/OpenFOAM/Make/files 1 addition, 0 deletionssrc/OpenFOAM/Make/files
- src/OpenFOAM/db/dictionary/functionEntries/includeEntry/includeEntry.C 2 additions, 1 deletion...db/dictionary/functionEntries/includeEntry/includeEntry.C
- src/OpenFOAM/db/dictionary/functionEntries/includeEntry/includeEntry.H 7 additions, 3 deletions...db/dictionary/functionEntries/includeEntry/includeEntry.H
- src/OpenFOAM/db/dictionary/functionEntries/includeIfPresentEntry/includeIfPresentEntry.C 101 additions, 0 deletions...tionEntries/includeIfPresentEntry/includeIfPresentEntry.C
- src/OpenFOAM/db/dictionary/functionEntries/includeIfPresentEntry/includeIfPresentEntry.H 101 additions, 0 deletions...tionEntries/includeIfPresentEntry/includeIfPresentEntry.H
Please register or sign in to comment