Skip to content

Replace use of the Fortran intrinsic function cmplx() with our own macros

Micael Oliveira requested to merge replace_cmplx_with_macro into develop

Description

Replace in several places the use of the Fortran intrinsic function "cmplx()" with our own macros to ensure no loss of precision occurs. NB: cmplx() returns a complex of default (i.e., single) precision.

News snippet

Replace use of the Fortran intrinsic function cmplx() with our own macros

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.

Merge request reports