Allow more flexible expressions in `ExpressionBC`
david-zwicker opened this issue · comments
As suggested in the discussion #488, we might want to allow that expressions depend on field values other than the cell adjacent to the wall. We could simply support an additional argument in ExpressionBC
, which sets the index where the field value is read from. Obviously, the default would be to read the value from the cell adjacent to the boundary.