Open rhodrin opened 4 years ago
Maybe we do not need to change the user code but only how the input is processed to create the subdomain:
This would prbably mess up lot of sthings so maybe not as trivial as I picture it.
I'm looping in @tjb900 because it's a relevant discussion for him
I'll take a proper look tmr
Note: Temporary fix in #1186.
@rhodrin reminder that in your next PR you may wanna expand that comment in _arg_defaults with a reference to this issue
Take a look at:
The 'thickness' properties mean something different for middle vs left/right - this should probably be made consistent or the actual properties changed?
Note that this inconsistency results in
'SubDomain'.shape
being computer incorrectly. A 'fix' is present in https://github.com/devitocodes/devito/tree/fix_subdim_size2 but I don't really like this and the underlying issue should probably be addressed now. I did start producing a 'proper' fix but it probably results in user code changing so wanted to discuss it here first.