Skip to content
Snippets Groups Projects

Fixes to postprocessing: Remove unused code, test vector extraction, unify treatment of scalar fields

Merged Frederik Hennig requested to merge fhennig/postprocessing-fixes into master
  • Remove the unused FlattenSequences class from ir.postprocessing
  • Add a test case for vector extraction
  • Treat explicitly and implicitly modelled scalar fields the same in map_field

Concerning Scalar Fields

pystencils permits users to omit the trivial index shape (1,) for scalar fields. We distinguish D+1-dimensional explicit scalar fields, where the trivial D+1st dimension is modelled, and equivalent D-dimensional implicit scalar fields. To make sure that explicit scalar fields can always be mapped onto D-dimensional data structures, we ignore their trivial index dimension.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply