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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: olesen
Forum: OpenFOAM July 28, 2009, 02:40
Replies: 4
Views: 1,954
Posted By olesen
In OpenFOAM-1.6, the same thing becomes much more...

In OpenFOAM-1.6, the same thing becomes much more convenient:

scalar scaleFactor = 1.0;
args.optionReadIfPresent("scale", scaleFactor);
Forum: OpenFOAM July 28, 2009, 02:31
Replies: 4
Views: 1,954
Posted By olesen
Just for completeness (to followup on what Henrik...

Just for completeness (to followup on what Henrik mentioned), you might note that readScalar operates on an Istream, and IStringStream can be used to create an Istream from a string.
Thus the...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 00:05.