Cylinder physical group does not include the cylinder bases
Hi there,
When assigning a cylinder object a physical group, and get all its elements using the physical group I discovered that the bases elements are not there - only the cylinder curved side.
I used gmsh in C++. A simple code is given here:
When compiled and run, as expected the FLTK window shows the mesh including the bases:
Unfortunately, the elements of the cylinder as a physical group (accessed using the gmsh::model::getEntitiesForPhysicalGroup method - see the attached code) does not include the bases, as shown in the following image:
Can someone explain this behavior please? What is the correct way to get all the element of the cylinder by its physical group tag?
Thanks, Ron.