Skip to content

MGGA for nonorthogonal cells

Nicolas Tancogne-Dejean requested to merge optional_metric_grad_div into develop

Description

Improve the calculation of the MGGA term for non-orthogonal cells, by avoiding applying twice a change of basis to each points of the batch.

A test is also added for MGGA with vtau dependence in non-orthogonal cells. The reference values were not changed by the present change in the code.

News snippet

Faster application of the MGGA term (-)for vtau dependent MGGAs) for non-orthogonal cells.

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 Nicolas Tancogne-Dejean

Merge request reports