Download data/src/OpenFOAM/include/setRegionNames.H from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/OpenFOAM/include/setRegionNames.H
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/src/OpenFOAM/include/setRegionNames.H
-
curl -L -o setRegionNames.H https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/OpenFOAM/include/setRegionNames.H
242 Bytes
| const Foam::wordList regionNames | |
| ( | |
| args.optionFound("allRegions") | |
| ? runTime.regionNames() | |
| : wordList | |
| ( | |
| 1, | |
| args.optionFound("region") | |
| ? args.optionRead<word>("region") | |
| : polyMesh::defaultRegion | |
| ) | |
| ); | |