|
[Sponsors] |
sampledSetsC evaluates the address of Pstreammaster as a bool |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 23, 2008, 12:18 |
Foam::sampledSets::checkFieldT
|
#1 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
Foam::sampledSets::checkFieldTypes() evaluated the address of
Pstream::master() as a bool, instead of calling the function. See attached patch: HTH Michael |
|
December 23, 2008, 12:22 |
Arrggh. The forum "died" when
|
#2 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
Arrggh. The forum "died" when I tried to attach the patch, so try number 2:
0001-FIX-.-sampledSets.C-evaluated-address-as-a-bool.patch |
|
December 24, 2008, 06:23 |
Thanks for the fix, I have app
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Thanks for the fix, I have applied it to 1.5.x in our git repository
H |
|
January 7, 2009, 10:01 |
The same bug is also here:
|
#4 |
Member
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17 |
The same bug is also here:
src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C:128 Michael |
|
January 9, 2009, 04:53 |
Thanks for the bug report, I h
|
#5 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Thanks for the bug report, I have fixed it in our 1.5.x git repository.
I have also run git-grep on the complete source tree and cannot find any further occurrences, please let me know if you find any others. H |
|
January 9, 2009, 05:03 |
HI EVERYBODY
I AM F
|
#6 |
Senior Member
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17 |
HI EVERYBODY
I AM FACING DIFFICULT TO INSTALL OPENFOAM 1.4.1 VERSION IN MY SYSTEM.....CAN U PLEASE SEND ME THE PROCEDURE OF INSTALLING IT.... PLEASE DO THE NEEDFUL... |
|
January 9, 2009, 05:10 |
Naveen,
1. Please reuse a c
|
#7 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,679
Rep Power: 40 |
Naveen,
1. Please reuse a correct thread for your question. It is not even remotely related to sampledSets.C or Pstream::master as a bool. 2. Do not use caps when posting - this is equivalent to screaming! 3. OpenFOAM-1.4.1 is an old version, OpenFOAM-1.5 (or OpenFOAM-1.5.x via the git repository) is the current version. 4. Please search the forum for similar problems, you might find the solution there. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Web address of CFD International/ CFD Journal | skg | Main CFD Forum | 0 | May 29, 2008 02:36 |
can not register, blocked ip address | zhangyunfeng | CFD-Wiki | 0 | June 20, 2006 22:37 |
RunFoamX and IP address | billy | OpenFOAM Installation | 2 | July 19, 2005 02:50 |
support address | Alejandro H Rossette | Siemens | 1 | August 1, 2003 04:17 |
contact address | student | Main CFD Forum | 2 | September 20, 2002 11:07 |