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

comments and correction of Sapj computed before dnjs

parent 402b540e
No related branches found
No related tags found
No related merge requests found
...@@ -25,21 +25,20 @@ SUBROUTINE inital ...@@ -25,21 +25,20 @@ SUBROUTINE inital
!!!!!! Set the moments arrays Nepj, Nipj and phi!!!!!! !!!!!! Set the moments arrays Nepj, Nipj and phi!!!!!!
IF ( RESTART ) THEN IF ( RESTART ) THEN
IF (my_id .EQ. 0) WRITE(*,*) 'Load moments' IF (my_id .EQ. 0) WRITE(*,*) 'Load moments'
CALL load_moments CALL load_moments ! get N_0
IF (my_id .EQ. 0) WRITE(*,*) 'Init phi with Poisson' IF (my_id .EQ. 0) WRITE(*,*) 'Init phi with Poisson'
CALL poisson CALL poisson ! compute phi_0=phi(N_0)
CALL MPI_BARRIER(MPI_COMM_WORLD,ierr);
ELSE ELSE
IF (INIT_NOISY_PHI) THEN IF (INIT_NOISY_PHI) THEN
IF (my_id .EQ. 0) WRITE(*,*) 'Init noisy phi' IF (my_id .EQ. 0) WRITE(*,*) 'Init noisy phi'
CALL init_phi CALL init_phi ! init noisy phi_0, N_0 = 0
ELSE ELSE
IF (my_id .EQ. 0) WRITE(*,*) 'Init noisy moments and ghosts' IF (my_id .EQ. 0) WRITE(*,*) 'Init noisy moments and ghosts'
CALL init_moments CALL init_moments ! init noisy N_0
IF (my_id .EQ. 0) WRITE(*,*) 'Init phi with Poisson' IF (my_id .EQ. 0) WRITE(*,*) 'Init phi with Poisson'
CALL poisson CALL poisson ! get phi_0 = phi(N_0)
ENDIF ENDIF
ENDIF ENDIF
...@@ -52,15 +51,18 @@ SUBROUTINE inital ...@@ -52,15 +51,18 @@ SUBROUTINE inital
!!!!!! Set Sepj, Sipj and dnjs coeff table !!!!!! !!!!!! Set Sepj, Sipj and dnjs coeff table !!!!!!
IF ( NON_LIN ) THEN; IF ( NON_LIN ) THEN;
IF (my_id .EQ. 0) WRITE(*,*) 'Init Sapj' WRITE(*,*) 'Building Dnjs table'
CALL compute_Sapj
! WRITE(*,*) 'Building Dnjs table'
CALL build_dnjs_table CALL build_dnjs_table
IF (my_id .EQ. 0) WRITE(*,*) 'Init Sapj'
CALL compute_Sapj ! compute S_0 = S(phi_0,N_0)
ENDIF ENDIF
!!!!!! Load the COSOlver collision operator coefficients !!!!!! !!!!!! Load the COSOlver collision operator coefficients !!!!!!
IF (ABS(CO) .GT. 1) THEN IF (ABS(CO) .GT. 1) THEN
CALL load_COSOlver_mat CALL load_COSOlver_mat
! Compute collision
CALL compute_TColl ! compute C_0 = C(N_0)
ENDIF ENDIF
END SUBROUTINE inital END SUBROUTINE inital
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment