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

moments boundaries are extended for closure

parent 4521ba30
No related branches found
No related tags found
No related merge requests found
...@@ -12,18 +12,18 @@ SUBROUTINE memory ...@@ -12,18 +12,18 @@ SUBROUTINE memory
IMPLICIT NONE IMPLICIT NONE
! Moments and moments rhs ! Moments and moments rhs
CALL allocate_array( moments_e, ips_e,ipe_e, ijs_e,ije_e, ikrs,ikre, ikzs,ikze, 1,ntimelevel ) CALL allocate_array( moments_e, ips_e-2,ipe_e+2, ijs_e-1,ije_e+1, ikrs,ikre, ikzs,ikze, 1,ntimelevel )
CALL allocate_array( moments_i, ips_i,ipe_i, ijs_i,ije_i, ikrs,ikre, ikzs,ikze, 1,ntimelevel ) CALL allocate_array( moments_i, ips_i-2,ipe_i+2, ijs_i-1,ije_i+1, ikrs,ikre, ikzs,ikze, 1,ntimelevel )
CALL allocate_array( moments_rhs_e, ips_e,ipe_e, ijs_e,ije_e, ikrs,ikre, ikzs,ikze, 1,ntimelevel ) CALL allocate_array( moments_rhs_e, ips_e,ipe_e, ijs_e,ije_e, ikrs,ikre, ikzs,ikze, 1,ntimelevel )
CALL allocate_array( moments_rhs_i, ips_i,ipe_i, ijs_i,ije_i, ikrs,ikre, ikzs,ikze, 1,ntimelevel ) CALL allocate_array( moments_rhs_i, ips_i,ipe_i, ijs_i,ije_i, ikrs,ikre, ikzs,ikze, 1,ntimelevel )
! Electrostatic potential ! Electrostatic potential
CALL allocate_array(phi, ikrs,ikre, ikzs,ikze) CALL allocate_array(phi, ikrs,ikre, ikzs,ikze)
! Electron kernel evaluation ! Electron kernel evaluation from ij=0 to jmax+1 for truncation
CALL allocate_array(Kernel_e, ijs_e,ije_e, ikrs,ikre, ikzs,ikze) CALL allocate_array(Kernel_e, ijs_e-1,ije_e+1, ikrs,ikre, ikzs,ikze)
! Ion kernel evaluation ! Ion kernel evaluation
CALL allocate_array(Kernel_i, ijs_i,ije_i, ikrs,ikre, ikzs,ikze) CALL allocate_array(Kernel_i, ijs_i-1,ije_i+1, ikrs,ikre, ikzs,ikze)
! Collision matrix ! Collision matrix
IF (CO .EQ. -1) THEN IF (CO .EQ. -1) THEN
......
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