|
[Sponsors] |
April 10, 2018, 13:16 |
parallelization and variable reset
|
#1 |
Member
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 9 |
Hello,
I'm working with KinematicCloud and I added two new protected variables: scalarList dtList_; vectorList UrList_; in the KinematicCloud.C i added the following: p.dtList().append(dt); And it works well, for each step it add dt to the last element of the list (yes, the list keeps growing and growing). But it works well only when running on a single processor. When I run it with more processors, the list resets to size 0 when changing from one processor to the other. I don't know how to change this behaviour, so all help is welcome Also, I want to know if there is any possible way to set a fixed size for the List. best regards |
|
Tags |
lagrangian, lists, lpt, parallelize |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] OpenFoam LaminarSmoke parallelization error | nashiong | OpenFOAM Community Contributions | 10 | February 17, 2015 15:31 |