|
[Sponsors] |
October 18, 2007, 14:21 |
Description: dictionary.clear(
|
#1 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Description: dictionary.clear() does not work as expected because it defaults to ILList.clear()
Version: 1.4.1 (but propably any) When trying to run this little program dictionaryClear.C it produces this output: Before { nix 23; } After { } --> FOAM Warning : From function dictionary::add(entry* ePtr) in file db/dictionary/dictionary.C at line 51 Reading "" attempt to add an entry already in dictionary "" Final { } although the expected output (in my opinion) would be: Before { nix 23; } After { } Final { nix 24; } Possible resolution would be this patch: dictionary.clear.patch
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
October 18, 2007, 14:49 |
Yes your fix is correct, I wil
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Yes your fix is correct, I will include it in the next release.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Source terms not producing expected results... | Emmanuel Resch | FLUENT | 0 | July 31, 2008 14:55 |
FOAM FATAL IO ERROR expected btrueb or bfalseb found yes | david_flo1 | OpenFOAM Bugs | 0 | January 4, 2008 15:16 |
why CFX help can't work? | prayskyer | CFX | 5 | December 17, 2006 16:15 |
void udf function expected | Paulina | FLUENT | 1 | October 18, 2003 12:39 |
CFD JOBS and Expected Salary.... | Noel Harrison | Main CFD Forum | 11 | November 22, 2000 07:15 |