1 |
! provide interface for c calls.... |
2 |
|
3 |
subroutine addMNMInteraction(myInteraction) |
4 |
|
5 |
use MetalNonMetal, ONLY: module_addInteraction => addInteraction |
6 |
use definitions, ONLY : dp |
7 |
#define __FORTRAN90 |
8 |
#include "UseTheForce/DarkSide/fMnMInteractions.h" |
9 |
|
10 |
type(MNMType), intent(inout) :: myInteraction |
11 |
|
12 |
call module_addInteraction(myInteraction) |
13 |
|
14 |
end subroutine addMNMInteraction |
15 |
|
16 |
! clears memory up |
17 |
subroutine deleteMNMInteractions() |
18 |
use MetalNonMetal,ONLY: module_deleteInteractions => deleteInteractions |
19 |
call module_deleteInteractions() |
20 |
end subroutine deleteMNMInteractions |