Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Cyril David Hoffmann
Gyacomo
Commits
6474c348
Commit
6474c348
authored
3 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
e43a91f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/stepon.F90
+1
-8
1 addition, 8 deletions
src/stepon.F90
with
1 addition
and
8 deletions
src/stepon.F90
+
1
−
8
View file @
6474c348
SUBROUTINE
stepon
! Advance one time step, (num_step=4 for Runge Kutta 4 scheme)
USE
advance_field_routine
,
ONLY
:
advance_time_level
,
advance_field
,
advance_moments
_explicit
USE
advance_field_routine
,
ONLY
:
advance_time_level
,
advance_field
,
advance_moments
USE
array
,
ONLY
:
moments_rhs_e
,
moments_rhs_i
,
Sepj
,
Sipj
USE
basic
USE
closure
...
...
@@ -20,12 +20,10 @@ SUBROUTINE stepon
DO
num_step
=
1
,
ntimelevel
! eg RK4 compute successively k1, k2, k3, k4
!----- BEFORE: All fields are updated for step = n
! Compute right hand side from current fields
! N_rhs(N_n,phi_n, S_n, Tcoll_n)
CALL
moments_eq_rhs_e
CALL
moments_eq_rhs_i
! ---- step n -> n+1 transition
! Advance from updatetlevel to updatetlevel+1 (according to num. scheme)
CALL
advance_time_level
...
...
@@ -37,24 +35,19 @@ SUBROUTINE stepon
CALL
apply_closure_model
! Exchanges the ghosts values of N_n+1
CALL
update_ghosts
! Update collision C_n+1 = C(N_n+1)
CALL
compute_TColl
! Update electrostatic potential phi_n = phi(N_n+1)
CALL
poisson
! Update nonlinear term S_n -> S_n+1(phi_n+1,N_n+1)
IF
(
NON_LIN
)
THEN
CALL
compute_Sapj
ENDIF
!- Check before next step
CALL
checkfield_all
()
IF
(
nlend
)
EXIT
! exit do loop
CALL
MPI_BARRIER
(
MPI_COMM_WORLD
,
ierr
)
!----- AFTER: All fields are updated for step = n+1
END
DO
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment