← Back to team overview

yade-dev team mailing list archive

[yade/trunk] 27fe62: - add thread number attribute to change the number...

 

  Branch: refs/heads/master
  Home:   https://github.com/yade/trunk
  Commit: 27fe62bbdb489a1985faa8db7097ad4a86dc1bc2
      https://github.com/yade/trunk/commit/27fe62bbdb489a1985faa8db7097ad4a86dc1bc2
  Author: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M pkg/common/InteractionLoop.cpp
    M pkg/common/InteractionLoop.hpp

  Log Message:
  -----------
  - add thread number attribute to change the number of thread of interactionLoop dynamicaly during simulations. Also usefull combined with parallel engine (for fine grain tuning of thread number in each subprocess)


  Commit: 38b67a61fd701f16b68657ec2907ec360ad739df
      https://github.com/yade/trunk/commit/38b67a61fd701f16b68657ec2907ec360ad739df
  Author: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M pkg/common/ParallelEngine.cpp
    M pkg/common/ParallelEngine.hpp

  Log Message:
  -----------
  1. Add thread number to parallel engine, can be changed dynamicaly. Uncouples the number of threads in parallel engines and in slaves.
2. Enable nested parallel regions (disabled on many systems by default) else the parallel engine is doing no good


  Commit: db3eb6aa8382129bad8a183907476f1d4401ae3e
      https://github.com/yade/trunk/commit/db3eb6aa8382129bad8a183907476f1d4401ae3e
  Author: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M lib/triangulation/FlowBoundingSphere.ipp

  Log Message:
  -----------
  1. Replace one loop on cells by an optimized vector<Cell> iterator
2. Clean an horrible block of code (not only ugly, it was also slow)


  Commit: 41773ba1e568c241b3daaecc1d9ebce310119b91
      https://github.com/yade/trunk/commit/41773ba1e568c241b3daaecc1d9ebce310119b91
  Author: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
  Date:   2012-10-24 (Wed, 24 Oct 2012)

  Changed paths:
    M pkg/dem/FlowEngine.cpp
    M pkg/dem/FlowEngine.hpp

  Log Message:
  -----------
  - introduce a position buffer for faster updates of volumes


Compare: https://github.com/yade/trunk/compare/46325ddcf3f7...41773ba1e568