Blender Git Commit Log

Git Commits -> Revision 818bfcc

Revision 818bfcc by Nils Thuerey (master)
November 21, 2007, 22:12 (GMT)

- 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.



Commit Details:

Full Hash: 818bfcca63a145f626e432c8217513610e8aff85
SVN Revision: 12645
Parent Commit: 413c24c
Lines Changed: +159, -35

14 Modified Paths:

/intern/elbeem/extern/elbeem.h (+1, -1) (Diff)
/intern/elbeem/intern/attributes.cpp (+1, -1) (Diff)
/intern/elbeem/intern/loop_tools.h (+76, -5) (Diff)
/intern/elbeem/intern/ntl_vector3dim.h (+1, -0) (Diff)
/intern/elbeem/intern/particletracer.cpp (+1, -1) (Diff)
/intern/elbeem/intern/simulation_object.cpp (+3, -3) (Diff)
/intern/elbeem/intern/solver_class.h (+1, -1) (Diff)
/intern/elbeem/intern/solver_init.cpp (+49, -6) (Diff)
/intern/elbeem/intern/solver_interface.cpp (+4, -2) (Diff)
/intern/elbeem/intern/solver_interface.h (+4, -2) (Diff)
/intern/elbeem/intern/solver_main.cpp (+16, -4) (Diff)
/intern/elbeem/intern/solver_util.cpp (+1, -2) (Diff)
/intern/elbeem/intern/utilities.cpp (+1, -2) (Diff)
/intern/elbeem/intern/utilities.h (+0, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021