2021-02-09 13:40:52 +01:00
|
|
|
module Sherman_Morrison
|
2021-02-04 11:39:00 +01:00
|
|
|
interface
|
2021-02-18 19:43:20 +01:00
|
|
|
subroutine MaponiA3(Slater_inv, dim, n_updates, Updates, Updates_index) bind(C, name="MaponiA3_f")
|
2021-02-04 11:39:00 +01:00
|
|
|
use, intrinsic :: iso_c_binding, only : c_int, c_double
|
|
|
|
integer(c_int), intent(in) :: dim, n_updates
|
|
|
|
integer(c_int), dimension(:), allocatable, intent(in) :: Updates_index
|
2021-02-18 19:43:20 +01:00
|
|
|
real(c_double), dimension(:,:), allocatable, intent(in) :: Updates
|
2021-02-04 11:39:00 +01:00
|
|
|
real(c_double), dimension(:,:), allocatable, intent(in out) :: Slater_inv
|
2021-02-06 18:59:07 +01:00
|
|
|
end subroutine MaponiA3
|
2021-02-04 11:39:00 +01:00
|
|
|
end interface
|
2021-02-09 13:40:52 +01:00
|
|
|
end module Sherman_Morrison
|