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
181b2eb6
Commit
181b2eb6
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
adapt cpu time measure
parent
728c94e6
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
+8
-3
8 additions, 3 deletions
src/stepon.F90
with
8 additions
and
3 deletions
src/stepon.F90
+
8
−
3
View file @
181b2eb6
...
...
@@ -2,7 +2,8 @@ SUBROUTINE stepon
! Advance one time step, (num_step=4 for Runge Kutta 4 scheme)
USE
advance_field_routine
,
ONLY
:
advance_time_level
,
advance_moments
USE
basic
,
ONLY
:
nlend
,
chrono_advf
,
chrono_pois
,&
chrono_chck
,
chrono_clos
,
chrono_ghst
,
start_chrono
,
stop_chrono
chrono_chck
,
chrono_clos
,
chrono_ghst
,
chrono_ExBs
,&
start_chrono
,
stop_chrono
USE
closure
,
ONLY
:
apply_closure_model
USE
ghosts
,
ONLY
:
update_ghosts_moments
,
update_ghosts_EM
use
mpi
,
ONLY
:
MPI_COMM_WORLD
...
...
@@ -23,7 +24,9 @@ SUBROUTINE stepon
! - the kernel, poisson op. and ampere op update
! - kx-shift of the fields at required ky values
! - the ExB shear value (s(ky)) update for the next time step
CALL
Apply_ExB_shear_flow
CALL
start_chrono
(
chrono_ExBs
)
CALL
Apply_ExB_shear_flow
CALL
stop_chrono
(
chrono_ExBs
)
DO
num_step
=
1
,
ntimelevel
! eg RK4 compute successively k1, k2, k3, k4
!----- BEFORE: All fields+ghosts are updated for step = n
...
...
@@ -80,7 +83,9 @@ SUBROUTINE stepon
END
DO
! Update the ExB shear flow for the next step
CALL
Update_ExB_shear_flow
CALL
start_chrono
(
chrono_ExBs
)
CALL
Update_ExB_shear_flow
CALL
stop_chrono
(
chrono_ExBs
)
CONTAINS
!!!! Basic structure to simplify stepon
...
...
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