DassHydro / dassflow2d

Data Assimilation for Free Surface Flows : Shallow-Water like systems for river networks and floodplains.
Other
7 stars 2 forks source link

Allocation and initialization of unused variables #12

Open leobpujol opened 1 month ago

leobpujol commented 1 month ago

Should unused variables (e.g. infil, porosity, ...) be allocated at a size of 1 ? Should they be hidden behind compilation flag ?

Should they be initialized to default values that would cause issues when computing (e.g. -999, -1) or to values that would not (0, 1) ?