Skip to content
Snippets Groups Projects

Refactor Field Indexing Symbols

Merged Frederik Hennig requested to merge fhennig/refactor-indexing-symbols into v2.0-dev

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 accept DynamicTypes
  • Make Field use DynamicType 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

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply