mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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
This commit is contained in:
@ -78,6 +78,7 @@ boundaryField
|
||||
// NB: the inputMode has a global scope
|
||||
#inputMode merge
|
||||
#include "testDict2"
|
||||
#includeIfPresent "SomeUnknownFile"
|
||||
|
||||
foo
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user