Skip to content

Update meshio to 5.3.4#109

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-meshio-4.3.11-to-5.3.4
Closed

Update meshio to 5.3.4#109
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-meshio-4.3.11-to-5.3.4

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates meshio from 4.3.11 to 5.3.4.

Changelog

5.1.0

- CellBlocks are no longer tuples, but classes. You can no longer iterate over them like
python
for cell_type, cell_data in cells:
   pass

Instead, use
python
for cell_block in cells:
   cell_block.type
   cell_block.data

5.0.0

- meshio now only provides one command-line tool, `meshio`, with subcommands like
`info`, `convert`, etc. This replaces the former `meshio-info`, `meshio-convert` etc.

4.4.0

- Polygons are now stored as `"polygon"` cell blocks, not `"polygonN"` (where `N` is the
number of nodes per polygon). One can simply retrieve the number of points via
`cellblock.data.shape[1]`.
Links

@pyup-bot pyup-bot mentioned this pull request Mar 11, 2022
@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #260

@pyup-bot pyup-bot closed this Jan 31, 2024
@clockwork85 clockwork85 deleted the pyup-update-meshio-4.3.11-to-5.3.4 branch January 31, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments