Refactor Field Indexing Symbols
This MR mainly refactors and clarifies the types and semantics of field shape/stride/pointer symbols.
- Remove field shape, stride, and pointer symbols from frontend
- Extend
TypedSymbol
to acceptDynamicType
s - Make
Field
useDynamicType
for its indexing symbols so that the indexing type is determined during translation - Consolidate index symbol names in
DEFAULTS
- Allow passing arbitrary names for array indexing symbols
- Fix index type checking in
KernelCreationContext.add_field
- Revert to pystencils 1.x naming convention for field pointers (due to compatibility issues in waLBerla)
Edited by Frederik Hennig
Merge request reports
Activity
added API Update label
requested review from @he66coqe
assigned to @da15siwa
added 1 commit
- a521c95d - Fix index-kernel test case. Clean up array-associated symbol creation.
added 4 commits
-
32aca6f3...1edd2d5c - 3 commits from branch
v2.0-dev
- cd0db857 - Merge branch 'v2.0-dev' into fhennig/refactor-indexing-symbols
-
32aca6f3...1edd2d5c - 3 commits from branch
added v2.0-dev label
mentioned in issue walberla/walberla#245 (closed)
mentioned in commit a4fb0c00
mentioned in issue #101 (closed)
mentioned in merge request !421 (merged)
Please register or sign in to reply