Read the dictionary provided as an argument, expand the macros etc. and write the resulting dictionary to standard output. More...
Go to the source code of this file.
Read the dictionary provided as an argument, expand the macros etc. and write the resulting dictionary to standard output.
Original source file expandDictionary.C
-list | Report the #include/#includeIfPresent to stdout only. |
-list
option can be useful when determining which files are actually included by a directory. It can also be used to determine which files may need to be copied when transferring simulation to another environment. The following code snippet could be a useful basis for such cases:for i in . 0 constant system do find $i -maxdepth 1 -type f -exec expandDictionary -list '{}' \; done | sed -ne '/^"\//!{ s/^"//; s/"$//; p }' | sort | uniq
Definition in file expandDictionary.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.