mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-10-02 14:31:06 +02:00
13 lines
656 B
Fortran
13 lines
656 B
Fortran
module Sherman_Morrison
|
|
use, intrinsic :: iso_c_binding, only : c_int, c_double
|
|
interface
|
|
subroutine MaponiA3(Slater_inv, dim, n_updates, Updates, Updates_index) bind(C, name="MaponiA3_f")
|
|
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
|
|
real(c_double), dimension(:,:), allocatable, intent(in) :: Updates
|
|
real(c_double), dimension(:,:), allocatable, intent(in out) :: Slater_inv
|
|
end subroutine MaponiA3
|
|
end interface
|
|
end module Sherman_Morrison
|