implement/improve mesh assignment

9 jobs for dev-mh-assign in 4 minutes and 5 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #74773
VS2015
VS2015-32-bit

00:01:15

passed #74772
VS2015
VS2015-64-bit

00:01:19

passed #74771
VS2017
VS2017-32-bit

00:01:12

passed #74770
VS2015
VS2017-64-bit

00:01:18

passed #74767
Linux
clang-c++11

00:03:41

passed #74769
Linux
cppcheck

00:00:35

passed #74774
Linux
doc

00:00:18

passed #74766
Linux
gcc-c++11

00:04:03

passed #74768
Apple
macos-c++11

00:01:44