Small issue reading edges
Sometimes I do things right, then I change them thinking my old self was an idiot and then they break. The positive point: the solutions end up being better.
This commit is contained in:
parent
9c30051663
commit
9cdc2491b1
2 changed files with 12 additions and 5 deletions
|
|
@ -198,9 +198,13 @@ MODULE moduleMeshInputGmsh2
|
||||||
|
|
||||||
END SELECT
|
END SELECT
|
||||||
|
|
||||||
CALL self%edges(e)%obj%init(n, p, boundaryType)
|
! If an edge was found, init it
|
||||||
|
if (allocated(p)) then
|
||||||
|
call self%edges(e)%obj%init(n, p, boundaryType)
|
||||||
|
|
||||||
DEALLOCATE(p)
|
deallocate(p)
|
||||||
|
|
||||||
|
end if
|
||||||
|
|
||||||
END DO
|
END DO
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -363,10 +363,13 @@ MODULE moduleMeshInputVTU
|
||||||
|
|
||||||
END SELECT
|
END SELECT
|
||||||
|
|
||||||
!Init edge
|
! If an edge was found, init it
|
||||||
CALL self%edges(e)%obj%init(n, p, entitiesID(n))
|
if (allocated(p)) then
|
||||||
|
call self%edges(e)%obj%init(n, p, entitiesID(n))
|
||||||
|
|
||||||
DEALLOCATE(p)
|
deallocate(p)
|
||||||
|
|
||||||
|
end if
|
||||||
|
|
||||||
END DO
|
END DO
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue