GBS
|
Data Types | |
interface | gbs_allocate |
interface | gbs_allocate_cuda |
interface | allocate_managed_memory |
interface | allocate_cuda_memory |
interface | allocate_device_memory |
Functions/Subroutines | |
subroutine | daytim (str) |
Print date and time. More... | |
subroutine | timera (cntrl, str, eltime) |
Timer routine. More... | |
subroutine | gbs_allocate_i1 (a, is1, ie1) |
Wrapper routine to allocate and initialize 1D double array. More... | |
subroutine | gbs_allocate_i2 (a, is1, ie1, is2, ie2) |
Wrapper routine to allocate and initialize 2D integer array. More... | |
subroutine | gbs_allocate_p1 (a, is1, ie1) |
subroutine | gbs_allocate_p2 (a, is1, ie1, is2, ie2) |
Wrapper routine to allocate and initialize 2D double array. More... | |
subroutine | gbs_allocate_p3 (a, is1, ie1, is2, ie2, is3, ie3) |
Wrapper routine to allocate and initialize 3D double array. More... | |
subroutine | gbs_allocate_p4 (a, is1, ie1, is2, ie2, is3, ie3, is4, ie4) |
Wrapper routine to allocate and initialize 4D double array. More... | |
subroutine | gbs_allocate_cuda_dp4 (a, is1, ie1, is2, ie2, is3, ie3, is4, ie4) |
subroutine | gbs_allocate_cuda_dp3 (a, is1, ie1, is2, ie2, is3, ie3) |
subroutine | gbs_allocate_cuda_dp2 (a, is1, ie1, is2, ie2) |
subroutine | gbs_allocate_cuda_dp1 (a, is1, ie1) |
Variables | |
type(tmpienv) | mpi_env |
Structure containing all the MPI environments. More... | |
type(tfile) | input_file |
Structure containing the input file information. More... | |
type(tinputenv) | input |
Structure containing all the input namelists. More... | |
real(dp) | time = 0.0_dp |
Current simulation time (Init from restart file) More... | |
real(dp) | remaining_time |
Remaining time in the simulation. More... | |
integer, private | ierr |
Flag for MPI error. More... | |
integer | corresponding_rank |
Corresponding rank in the other communicator (plasma/neutrals) More... | |
integer | jobnum = 0 |
Job number. More... | |
integer | stepp = 0 |
Plasma calculation step of this run. More... | |
integer | stepn = 0 |
Neutrals calculation step of this run. More... | |
integer | cstepp = 0 |
Current stepP number (Init from restart file) More... | |
logical | nlend = .false. |
Signal end of run. More... | |
logical | nlforcediag = .false. |
Signal end of run. More... | |
logical | nlcrash = .false. |
Signal crash of run. More... | |
integer | iframe2d |
number of 2d datasets More... | |
integer | iframe3d |
number of 3d datasets More... | |
logical | parallel_neutrals |
Do neutrals in parallel to the plasma. More... | |
integer, dimension(:), pointer | dspx2d |
integer, dimension(:), pointer | rcx2d |
integer, dimension(:), pointer | dspx1d |
integer, dimension(:), pointer | rcx1d |
integer, dimension(:), pointer | dspy2d |
integer, dimension(:), pointer | rcy2d |
integer, dimension(:), pointer | dspy1d |
integer, dimension(:), pointer | rcy1d |
integer, parameter | lu_debug = 93 |
File used for debug purposes. More... | |
integer, parameter | lu_stop = 91 |
stop file, see subroutine TESEND More... | |
integer, parameter | lu_job = 92 |
myjob file More... | |
integer, parameter | lu_eq = 94 |
External equilibrium file. More... | |
integer | lu_neu = 95 |
File for neutrals stdout. More... | |
logical | ltimer =.false. |
integer | starttimer =2 |
integer | stoptimer =30 |
subroutine basic_mod::daytim | ( | character(len=*), intent(in) | str | ) |
Print date and time.
subroutine basic_mod::gbs_allocate_cuda_dp1 | ( | real(dp), dimension(:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1 | ||
) |
subroutine basic_mod::gbs_allocate_cuda_dp2 | ( | real(dp), dimension(:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2 | ||
) |
subroutine basic_mod::gbs_allocate_cuda_dp3 | ( | real(dp), dimension(:,:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2, | ||
integer, intent(in) | is3, | ||
integer, intent(in) | ie3 | ||
) |
subroutine basic_mod::gbs_allocate_cuda_dp4 | ( | real(dp), dimension(:,:,:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2, | ||
integer, intent(in) | is3, | ||
integer, intent(in) | ie3, | ||
integer, intent(in) | is4, | ||
integer, intent(in) | ie4 | ||
) |
[in,out] | a | Input array |
[in] | ie4 | Starting and ending indices |
subroutine basic_mod::gbs_allocate_i1 | ( | integer, dimension(:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1 | ||
) |
Wrapper routine to allocate and initialize 1D double array.
Wrapper routine to allocate and initialize 1D integer array
[in,out] | a | Input array |
[in] | ie1 | Starting and ending indices |
subroutine basic_mod::gbs_allocate_i2 | ( | integer, dimension(:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2 | ||
) |
Wrapper routine to allocate and initialize 2D integer array.
[in,out] | a | Input array |
[in] | ie2 | Starting and ending indices |
subroutine basic_mod::gbs_allocate_p1 | ( | real(dp), dimension(:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1 | ||
) |
[in,out] | a | Input array |
[in] | ie1 | Starting and ending indices |
subroutine basic_mod::gbs_allocate_p2 | ( | real(dp), dimension(:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2 | ||
) |
Wrapper routine to allocate and initialize 2D double array.
[in,out] | a | Input array |
[in] | ie2 | Starting and ending indices |
subroutine basic_mod::gbs_allocate_p3 | ( | real(dp), dimension(:,:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2, | ||
integer, intent(in) | is3, | ||
integer, intent(in) | ie3 | ||
) |
Wrapper routine to allocate and initialize 3D double array.
[in,out] | a | Input array |
[in] | ie3 | Starting and ending indices |
subroutine basic_mod::gbs_allocate_p4 | ( | real(dp), dimension(:,:,:,:), intent(inout), pointer | a, |
integer, intent(in) | is1, | ||
integer, intent(in) | ie1, | ||
integer, intent(in) | is2, | ||
integer, intent(in) | ie2, | ||
integer, intent(in) | is3, | ||
integer, intent(in) | ie3, | ||
integer, intent(in) | is4, | ||
integer, intent(in) | ie4 | ||
) |
Wrapper routine to allocate and initialize 4D double array.
[in,out] | a | Input array |
[in] | ie4 | Starting and ending indices |
subroutine basic_mod::timera | ( | integer, intent(in) | cntrl, |
character(len=*), intent(in) | str, | ||
real(dp), intent(out), optional | eltime | ||
) |
Timer routine.
[in] | cntrl | Control flag (0 = initialize, 1 = update timings) |
[in] | str | Name of the timer |
[out] | eltime | Timing |
integer basic_mod::corresponding_rank |
Corresponding rank in the other communicator (plasma/neutrals)
integer basic_mod::cstepp = 0 |
Current stepP number (Init from restart file)
integer, dimension(:), pointer basic_mod::dspx1d |
integer, dimension(:), pointer basic_mod::dspx2d |
integer, dimension(:), pointer basic_mod::dspy1d |
integer, dimension(:), pointer basic_mod::dspy2d |
|
private |
Flag for MPI error.
integer basic_mod::iframe2d |
number of 2d datasets
integer basic_mod::iframe3d |
number of 3d datasets
type(tinputenv) basic_mod::input |
Structure containing all the input namelists.
type(tfile) basic_mod::input_file |
Structure containing the input file information.
integer basic_mod::jobnum = 0 |
Job number.
logical basic_mod::ltimer =.false. |
integer, parameter basic_mod::lu_debug = 93 |
File used for debug purposes.
integer, parameter basic_mod::lu_eq = 94 |
External equilibrium file.
integer, parameter basic_mod::lu_job = 92 |
myjob file
integer basic_mod::lu_neu = 95 |
File for neutrals stdout.
integer, parameter basic_mod::lu_stop = 91 |
stop file, see subroutine TESEND
type(tmpienv) basic_mod::mpi_env |
Structure containing all the MPI environments.
logical basic_mod::nlcrash = .false. |
Signal crash of run.
logical basic_mod::nlend = .false. |
Signal end of run.
logical basic_mod::nlforcediag = .false. |
Signal end of run.
logical basic_mod::parallel_neutrals |
Do neutrals in parallel to the plasma.
integer, dimension(:), pointer basic_mod::rcx1d |
integer, dimension(:), pointer basic_mod::rcx2d |
integer, dimension(:), pointer basic_mod::rcy1d |
integer, dimension(:), pointer basic_mod::rcy2d |
real(dp) basic_mod::remaining_time |
Remaining time in the simulation.
integer basic_mod::starttimer =2 |
integer basic_mod::stepn = 0 |
Neutrals calculation step of this run.
integer basic_mod::stepp = 0 |
Plasma calculation step of this run.
integer basic_mod::stoptimer =30 |
real(dp) basic_mod::time = 0.0_dp |
Current simulation time (Init from restart file)