change to filter used in filteredgv: instead of returning a bool a
interger is returned. So the whole grid can be partitioned into more then 2 parts. This integer is then also used for the internal boundary ids
interger is returned. So the whole grid can be partitioned into more then 2 parts. This integer is then also used for the internal boundary ids