mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
This is faster than the library functionality that it replaces, as it allows the compiler to do inlining. It also does not utilise any static state so generators do not interfere with each other. It is also faster than the the array lookup in cachedRandom. The cachedRandom class therefore offers no advantage over Random and has been removed.
Test application for volField and surfaceField mapping with
refinement/unrefinement
Run
block/Allrun
to compile and map a few fields. Note that hexRef8 cannot be
run in inflation mode - there is the problem of getting
a set of faces to sweep that is consistent for a cell and
all its neighbours.