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: olesen
Forum: OpenFOAM June 25, 2012, 08:54
Replies: 21
Views: 7,130
Posted By olesen
A direct construction isn't so easy without lots...

A direct construction isn't so easy without lots of tricks.
Doesn't look really pretty, but I don't see why a stream constructor should not work:

labelListList myLabListList(IStringStream(...
Forum: OpenFOAM October 31, 2011, 06:49
Replies: 21
Views: 7,130
Posted By olesen
Looks fine. There is no major difference between...

Looks fine. There is no major difference between a List<int> and a List<label> (since label is currently just a typedef for int), but I'd generally stick to using List<label> or labelList for...
Forum: OpenFOAM October 26, 2011, 09:12
Replies: 21
Views: 7,130
Posted By olesen
Take a look in ListListOps.H, the subSizes...

Take a look in ListListOps.H, the subSizes operation looks like what you want (haven't used it myself):

http://foam.sourceforge.net/docs/cpp/a08510.html#a5f9f7ff18bb41f9d50c0824cbecb892b
Showing results 1 to 3 of 3

 
Forum Jump

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