Skip to content
Snippets Groups Projects
Commit f4789992 authored by Antoine Cyril David Hoffmann's avatar Antoine Cyril David Hoffmann
Browse files

fix FC matrix allocation

parent 24ace58e
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ SUBROUTINE memory
USE basic
USE fields
USE fourier_grid
USE time_integration
USE time_integration
USE model, ONLY: CO
USE prec_const
......@@ -22,14 +22,12 @@ SUBROUTINE memory
! Collision matrix
IF (CO .EQ. -1) THEN
CALL allocate_array( Ceepj, ns_e,ne_e, 1,(pmaxe+1)*(jmaxe+1))
CALL allocate_array( CeipjT, ns_e,ne_e, 1,(pmaxe+1)*(jmaxe+1))
CALL allocate_array( CeipjF, ns_e,ne_e, 1,(pmaxi+1)*(jmaxi+1))
CALL allocate_array( Ciipj, ns_i,ne_i, 1,(pmaxi+1)*(jmaxi+1))
CALL allocate_array( CiepjT, ns_i,ne_i, 1,(pmaxi+1)*(jmaxi+1))
CALL allocate_array( CiepjF, ns_i,ne_i, 1,(pmaxe+1)*(jmaxe+1))
CALL allocate_array( Ceepj, 1,(pmaxe+1)*(jmaxe+1), 1,(pmaxe+1)*(jmaxe+1))
CALL allocate_array( CeipjT, 1,(pmaxe+1)*(jmaxe+1), 1,(pmaxe+1)*(jmaxe+1))
CALL allocate_array( CeipjF, 1,(pmaxe+1)*(jmaxe+1), 1,(pmaxi+1)*(jmaxi+1))
write(*,*) 'ns_i=',ns_i,', ns_e=',ns_e
CALL allocate_array( Ciipj, 1,(pmaxi+1)*(jmaxi+1), 1,(pmaxi+1)*(jmaxi+1))
CALL allocate_array( CiepjT, 1,(pmaxi+1)*(jmaxi+1), 1,(pmaxi+1)*(jmaxi+1))
CALL allocate_array( CiepjF, 1,(pmaxi+1)*(jmaxi+1), 1,(pmaxe+1)*(jmaxe+1))
ENDIF
END SUBROUTINE memory
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment