I get distracted and fix stupid warnings
This commit is contained in:
parent
21b112a591
commit
3678942be4
1 changed files with 4 additions and 4 deletions
|
|
@ -123,16 +123,16 @@ MODULE moduleCollisions
|
||||||
END FUNCTION randomDirectionVHS
|
END FUNCTION randomDirectionVHS
|
||||||
|
|
||||||
!Inits the interaction matrix
|
!Inits the interaction matrix
|
||||||
SUBROUTINE initInteractionMatrix(interactionMatrix)
|
SUBROUTINE initInteractionMatrix(matrix)
|
||||||
USE moduleSpecies
|
USE moduleSpecies
|
||||||
IMPLICIT NONE
|
IMPLICIT NONE
|
||||||
|
|
||||||
TYPE(interactionsBinary), INTENT(inout), ALLOCATABLE:: interactionMatrix(:)
|
TYPE(interactionsBinary), INTENT(inout), ALLOCATABLE:: matrix(:)
|
||||||
|
|
||||||
nCollPairs = (nSpecies*(nSpecies+1))/2
|
nCollPairs = (nSpecies*(nSpecies+1))/2
|
||||||
ALLOCATE(interactionMatrix(1:nCollPairs))
|
ALLOCATE(matrix(1:nCollPairs))
|
||||||
|
|
||||||
interactionMatrix(:)%amount = 0
|
matrix(:)%amount = 0
|
||||||
|
|
||||||
END SUBROUTINE initInteractionMatrix
|
END SUBROUTINE initInteractionMatrix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue