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: l_r_mcglashan
Forum: OpenFOAM Programming & Development July 19, 2013, 04:53
Replies: 5
Views: 5,757
Posted By l_r_mcglashan
That's quite small. I'd either use a HashTable if...

That's quite small. I'd either use a HashTable if you have to remove elements individually, or if you can remove them as a block then do this:

PackedBoolList elemToRemove(l.size());

forAll(l,...
Forum: OpenFOAM Programming & Development July 18, 2013, 17:37
Replies: 5
Views: 5,757
Posted By l_r_mcglashan
Depends. What is the size of your list, how often...

Depends. What is the size of your list, how often will you be deleting elements and how many will you remove?
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 06:39.