Improve run time of convertToLinearMesh
- Substitute geometrical search by a mapping that is calculated by known information before creating the linear elements
- Store the result of the expensive to calculate
getNumberOfBaseNodes()
once and re-use it
Update
Forget to mention: Run time for a test example from @joergbuchwald reduced from 5400 s to 0.5 s.
Edited by Tom Fischer