FUNCTION MeshExtrude

Clearly defined bug reports and their fixes
Post Reply
fgillet
Posts: 47
Joined: 30 Sep 2010, 16:58

FUNCTION MeshExtrude

Post by fgillet »

Hi,

There is a bug in the numbering of the base line parent elements in the function MeshExtrude for the cases where the BaseLine is preserved.

For the Mesh_out elements corresponding to the 2D baseLine, the Mesh_out parent index is "Mesh_in % NumberOfBulkElements*(in_levels+1)+(in_levels+2)*Mesh_in % NumberOfBoundaryElements+l" , i.e. the elements created for the bottom boundary.

Lines 2690 and 2695 of MeshUtils.src (Rev. 6430) should be:

Mesh_out % Elements(cnt) % BoundaryInfo % Left => &
Mesh_out % Elements(Mesh_in % NumberOfBulkElements*(in_levels+1)+(in_levels+2)*Mesh_in % NumberOfBoundaryElements+l)
Mesh_out % Elements(cnt) % BoundaryInfo % Right => &
Mesh_out % Elements(Mesh_in % NumberOfBulkElements*(in_levels+1)+(in_levels+2)*Mesh_in % NumberOfBoundaryElements+l)


best regards

Fabien
Post Reply