CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

sampledSetsC evaluates the address of Pstreammaster as a bool

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2008, 12:18
Default Foam::sampledSets::checkFieldT
  #1
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17
mwild is on a distinguished road
Foam::sampledSets::checkFieldTypes() evaluated the address of
Pstream::master() as a bool, instead of calling the function. See attached patch:



HTH

Michael
mwild is offline   Reply With Quote

Old   December 23, 2008, 12:22
Default Arrggh. The forum "died" when
  #2
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17
mwild is on a distinguished road
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
mwild is offline   Reply With Quote

Old   December 24, 2008, 06:23
Default Thanks for the fix, I have app
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Thanks for the fix, I have applied it to 1.5.x in our git repository

H
henry is offline   Reply With Quote

Old   January 7, 2009, 10:01
Default The same bug is also here:
  #4
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 17
mwild is on a distinguished road
The same bug is also here:

src/sampling/sampledSurface/sampledSurfaces/sampledSurfaces.C:128

Michael
mwild is offline   Reply With Quote

Old   January 9, 2009, 04:53
Default Thanks for the bug report, I h
  #5
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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
henry is offline   Reply With Quote

Old   January 9, 2009, 05:03
Default HI EVERYBODY I AM F
  #6
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
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...
naveen is offline   Reply With Quote

Old   January 9, 2009, 05:10
Default 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
olesen has a spectacular aura aboutolesen has a spectacular aura about
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.
olesen is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:49.