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: boger
Forum: OpenFOAM Programming & Development November 19, 2010, 09:01
Replies: 6
Views: 2,579
Posted By boger
Yes, but my impression is that boollist is only...

Yes, but my impression is that boollist is only true in cells that are members of the cellLabels, so unless he needs boollist for some other reason as well, it's more direct to just set alfa based on...
Forum: OpenFOAM Programming & Development November 18, 2010, 08:48
Replies: 6
Views: 2,579
Posted By boger
forAll(zoneCell,cellI) { if...

forAll(zoneCell,cellI)
{
if (zoneCell[cellI])
{
alfa[cellI] = 1;
}
}
But why not just skip the bool list and set alfa directly?

forAll(cellLabels, i)
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 01:23.