Skip to content

Second order central difference

Eric Lindgren requested to merge second-order-central-difference into master

Adds second order central difference in python and c++, accessible via CPUNEP. Fixes #71

Example usage:

 gradient_second_cpp = calc.get_dipole_gradient(
        displacement=1e-2, method='second order central difference', charge=2.0
    )

Merge request reports

Loading