Skip to content

consolidating the sequential loops in submesh_init()

Meisam Tabriz requested to merge optimize_submesh_init into develop

Description

A temporary array (map_temp) is used for keeping the map of grid points to avoid looping through all of them again. Also, the rc**2 calculation is moved outside of the loops.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.
Edited by Meisam Tabriz

Merge request reports