Download data/applications/test/Hashing/hashingTests from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/applications/test/Hashing/hashingTests
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/applications/test/Hashing/hashingTests
-
curl -L -o hashingTests https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/applications/test/Hashing/hashingTests
1.08 kB
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| \*---------------------------------------------------------------------------*/ | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| stringList | |
| ( | |
| "The quick brown fox jumps over the lazy dog" | |
| "The best hash is the one you don't write yourself!" | |
| ) | |
| labelList | |
| ( | |
| 0 | |
| 1 | |
| 100 | |
| 1000 | |
| -1 | |
| -10 | |
| -100 | |
| ) | |
| labelListList | |
| ( | |
| (0) | |
| (0 0) | |
| (0 0 0) | |
| (0 1) | |
| (100 1000) | |
| (0 1 100 1000) | |
| ) | |
| // edges are hashed commutatively | |
| edgeList | |
| ( | |
| (0 1) | |
| (1 0) | |
| (45 100) | |
| (100 45) | |
| (128 1000) | |
| (1000 128) | |
| ) | |
| // triFaces are also hashed commutatively (via multiply/add) | |
| triFaceList | |
| ( | |
| (10 20 30) | |
| (30 20 10) | |
| (20 10 30) | |
| ) | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |