Destroy an stl_file
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(stl_file), | intent(inout) | :: | me |
subroutine destroy_stl_file(me) implicit none class(stl_file),intent(inout) :: me if (allocated(me%plates)) deallocate(me%plates) me%n_plates = 0 end subroutine destroy_stl_file