Hi all, What is the function
What is the function to access the total number of faces ( triangles) on each boundary?
I have this function:
Info << "number " << mesh.boundaryMesh() << endl;
for patch no 0.
I would like to extract the number 5506 from this lot to do some calculation.
I found it: scalar number
I found it:
scalar number = mesh.boundaryMesh()[PatchID].size() ;
where PatchID is the patch number.
|All times are GMT -4. The time now is 22:20.|