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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: card
Forum: OpenFOAM Bugs October 29, 2008, 11:39
Replies: 3
Views: 3,723
Posted By card
No issues... I'm really sorry

No issues... I'm really sorry for the confusion... it didn't make sense with the type conversion at first... after digging for a few hours through the code base, I now see how the IFstream is...
Forum: OpenFOAM Bugs October 24, 2008, 17:09
Replies: 3
Views: 3,723
Posted By card
FYI, the syntax in the myFile.

FYI, the syntax in the myFile.read statement above did not cut and paste properly. It is and should be:

myFile.read(reinterpret_cast<char*>(&myvar), sizeof(myvar));
Forum: OpenFOAM Bugs October 24, 2008, 15:02
Replies: 3
Views: 3,723
Posted By card
In OpenFOAM 1.5, I believe the

In OpenFOAM 1.5, I believe there might be an issue with the IFstream when trying to read a binary block. See my sample code below. When tracking this down, I realized that there is also a "word"...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 13:16.