Fixes to postprocessing: Remove unused code, test vector extraction, unify treatment of scalar fields
- Remove the unused
FlattenSequences
class fromir.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
Activity
Filter activity
changed milestone to %Version 0.1
requested review from @ob28imeq
assigned to @da15siwa
added 1 commit
- b23716bd - make SupportsFieldExtraction and SupportsVectorExtraction runtime-checkable
mentioned in commit b1c47558
Please register or sign in to reply