MeteoSwiss-APN / dawn

Compiler toolchain to enable generation of high-level DSLs for geophysical fluid dynamics models
MIT License
28 stars 30 forks source link

Allow fields with different layout #709

Open havogt opened 4 years ago

havogt commented 4 years ago

Currently all data_stores need to have the same layout id (they are the same type).

Remove this constraint: sidify dawn.

egparedes commented 4 years ago

A initial step for this goal could be to add a toolchain option to generate code with different layout_ids for all the fields. It could be set to false by default to keep current behavior undisturbed, but the generated code would be able to accept fields with different shapes and layouts.