-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Is your feature request related to a problem? Please describe.
I'd like to create vector indexes which are not fully determined on their own, more specifically I'd like MySymbolicIndex(:) to access all variables of a certain component. I register this as an ArraySymbolic which I cannot collect into a vector of ScalarSymbolic without knowledge from the index provider.
Describe the solution you’d like
Create a new abstraction to collect the array symbolic which defaults to simple collect but can be specified if necessary.
SII.collect_array_symbolic(indp, array_symbolic) = collect(array_symbolic)So I could define
SII.collect_array_symbolic(indp::MyIndexProvider, as::MySymbolicIndex{Colon}) = ...to expand in a more complex manner.
If you're open to the suggestion I could also prepare a PR.
Metadata
Metadata
Assignees
Labels
No labels