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: marupio
Forum: OpenFOAM Programming & Development May 31, 2011, 09:50
Replies: 4
Views: 2,495
Posted By marupio
Hmmm... that's strange. The forAll() command is...

Hmmm... that's strange. The forAll() command is actually a macro, which does this:

forAll(objectName, indexName)
// is short for:
for (label indexName(0); indexName < objectName.size();...
Forum: OpenFOAM Programming & Development May 31, 2011, 09:11
Replies: 4
Views: 2,495
Posted By marupio
Contact your colleague: the code is incomplete. ...

Contact your colleague: the code is incomplete. faceI is not a class, but it is typically used as a label variable when cycling through all the faces in the mesh. e.g.:


forAll(mesh.faces(),...
Showing results 1 to 2 of 2

 
Forum Jump

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