Currently, the mapping is implemented in a way such that we need to initialize the fromData and toData values before we can execute the mapping. As a part of #1645 we should try to change the mapping such that it directly works with the Storage of each Data. This would probably allow us to remove mesh->allocateDataValues(), because it will be suffient to only call WriteDataContext::resizeBufferTo.
Currently, the mapping is implemented in a way such that we need to initialize the
fromDataandtoDatavalues before we can execute the mapping. As a part of #1645 we should try to change the mapping such that it directly works with the Storage of each Data. This would probably allow us to removemesh->allocateDataValues(), because it will be suffient to only callWriteDataContext::resizeBufferTo.