elemenst of surface scalerfield
HI FOAMERS
I have a surface scaler field named glS which is equal to surfaceScalarField gLS = fvc::interpolate(gL); wher gL in volscalerfield. The loop for all (celli,gl) can check all the element of gL, is there a similar command to check the elements of surfacesclar field, gLS? TNX for your help! |
Hey,
it works absolutely the same: forAll(mySurfaceScalarField, faceI) forAll(list, i) is just a function wrapping for (Foam::label i=0; i<(list).size(); i++) its defined in UList.H it works for all containers having a .size() function! Best Kathrin |
Thanks
kathrin, thanks for the comment!
|
All times are GMT -4. The time now is 04:06. |