「テンプレート:Release Notes/2.46/Physics/Fluid Simulation」の版間の差分
< テンプレート:Release Notes | 2.46 | Physics
細 (Dev:Ref/Release Notes/2.46/Physics/Fluid Simulation moved to Template:Release Notes/2.46/Physics/Fluid Simulation: move to Template:) |
細 (1版 をインポートしました) |
(相違点なし)
|
2018年6月29日 (金) 02:53時点における最新版
Nils added OpenMP/multithreading support for fluids! See rev 12645! --Genscher 15:04, 12 February 2008 (CET)
Commit log of Nils:
- Added OpenMP code, it is enabled by defining PARALLEL=1 for the elbeem
compilation. Currently, it is not yet active by default, but Genscher wanted to do some tests. It can be used to distribute the computation load onto multiple shared- memory CPUs by splitting the domain along the y-axis (assuming a gravity force along z). However, there is no load balancing: so if there's fluid only in one of the y-axis halves you will not get a speedup for 2 CPUs.
- Added a fix for the memory allocation bugs #7120 and #6775. In
solver_init.cpp there are now several variables max___MemChunk (line 692+), that set upper limits for various systems. The same problem existed for mac & linux, but the limit is higher, so it probably went by undetected. The windows limit is currently 1GB, if the strange 700MB limit problems mentioned in the bug regports the bugs persist, this could be further reduced. For 64bit compilations this problem shouldn't exist anyway. What's still missing is a display of how much the resolution was reduced to fit into memory...
- And some minor solver code cleanup.