2 function calls in one line??
Hey there Foamers. I am trying to figure out this line of code. I must say that I know what the line of code is doing, but what is it based upon? As in two functions are called in one line, boundaryMesh() and findPatchID() ??
label patchK = mesh.boundaryMesh().findPatchID("wallHot"); Thanks Deji |
mesh.boundaryMesh() returns an object (or a reference), and you can keep on working on that object. There is no rule to limit yourself to one call per line.
|
Thank you very much, it all makes sense now...Hooray
|
All times are GMT -4. The time now is 16:31. |