Skip to content

Periodic domains

Compare
Choose a tag to compare
@holl- holl- released this 18 Feb 11:36
36f8020

Version Highlights:

  • Periodic pressure solve
  • Improved structs: content_type, global item context, batched structs

Breaking Changes:

  • (minor) Removed item_condition argument from placeholder(). Use the context item condition instead.
  • (minor) CenteredGrid.dtype now returns a CenteredGrid. Same for StaggeredGrid.
  • (minor) Passing item_condition=None anywhere now uses the context item condition. Use item_condition=ALL_ITEMS to iterate over all items.
  • (minor) StructBackend now validates returned values by default. Replace it with StructBackend(target_content_type=struct.INVALID) to revert to old behavior.

Deprecations:

  • math.types: Use Struct.dtype instead.
  • StateCollection.default_physics
  • struct.unsafe(): Set content_type to non-data instead.

Pull request #10