|
[Sponsors] |
February 16, 2014, 16:27 |
forAllIter(...) method
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
I want to use the forAllIter(...) loop like Code:
forAllIter(PtrDictionary<phaseModel>, phases_, iter) { ... } |
|
February 16, 2014, 16:40 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,902
Rep Power: 37 |
Hallo,
Then I would suggest that you do not use a macro, which is build to loop over all elements in a list. Simply implement it as an ordinary loop, which fulfills your specifications, i.e. your start/stop criteria. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
On the alpha Eqn of VOF method when using Immersed boundary method in OpenFOAM | keepfit | OpenFOAM | 4 | January 31, 2014 15:32 |
Inaccurate gradient results from continuous Adjoint method | Yminjo | SU2 | 1 | January 11, 2014 23:08 |
multiphaseEulerFoam: Method forAllIter(...) within solve() | maybee | OpenFOAM Programming & Development | 4 | January 7, 2014 05:35 |
[Gmsh] discretizer - gmshToFoam | Andyjoe | OpenFOAM Meshing & Mesh Conversion | 13 | March 14, 2012 05:35 |
Code for most powerfull FDV Method | D.S.Nasan | Main CFD Forum | 6 | September 4, 2008 03:08 |