XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
coupling_core_edge Module Reference

Public Member Functions

subroutine cce_initialize ()
 
subroutine cce_destroy ()
 
subroutine cce_send_receive_pot (grid, psn)
 The field communication from main. More...
 
subroutine cce_send_receive_amp (grid, psn)
 The field communication from main. More...
 
subroutine cce_send_receive_density (density0, density1, isp)
 Send the density to the other side. More...
 
subroutine cce_send_receive_current (current0, current1, isp)
 Send the density to the other side. More...
 
subroutine cce_send_receive_as (As0, As1)
 Send the density to the other side. More...
 
subroutine cce_send_receive_pot_only (dpot0, dpot1, pot0)
 
subroutine cce_send_receive_amp_only (Ah0, Ah1)
 
subroutine cce_varpi_grid (rho_ff)
 

Public Attributes

integer cce_side
 0:core, 1: edge More...
 
character(5) cce_my_side
 
character(5) cce_other_side
 
integer cce_overlap_first_surface
 
integer cce_overlap_last_surface
 
integer cce_overlap_first_node
 
integer cce_overlap_last_node
 
integer cce_number_of_surface
 
integer cce_step_den
 
integer cce_step_pot
 
integer cce_step_cur
 
integer cce_step_amp
 
integer cce_step_as
 
integer cce_field_first_node
 
integer cce_field_last_node
 
integer cce_field_node_number
 
integer cce_field_first_surface
 
integer cce_field_last_surface
 
integer cce_density_node_number
 
character(256) cce_folder
 folder where coupling files are stored More...
 
integer cce_buffer_nb
 Number of buffers. Maximum value is 2, but it can be extended trivially. More...
 
integer, dimension(2) cce_buffer_first_nodes
 
integer, dimension(2) cce_buffer_last_nodes
 Location of buffers (nodes) More...
 
integer, dimension(2) cce_buffer_first_surfaces
 
integer, dimension(2) cce_buffer_last_surfaces
 Location of buffers (surfaces) More...
 
integer, dimension(2) cce_buffer_sndrcvs
 Send or receive the buffer data. More...
 
integer, dimension(2) cce_buffer_freq
 How often do we synchronize each buffer. More...
 
logical cce_sync_initial_bufferandoverlap
 
integer cce_nbsurfaces
 
integer, dimension(:), allocatable cce_surface_first_node
 
integer, dimension(:), allocatable cce_surface_last_node
 
real(8) cce_inpsi
 
real(8) cce_outpsi
 
real(8) cce_inpsi_field
 
logical cce_forceresamp
 
logical, save cce_initialized =.false.
 

Member Function/Subroutine Documentation

subroutine coupling_core_edge::cce_destroy ( )
subroutine coupling_core_edge::cce_initialize ( )

Here is the caller graph for this function:

subroutine coupling_core_edge::cce_send_receive_amp ( type(grid_type), target  grid,
type(psn_type), target  psn 
)

The field communication from main.

Here is the call graph for this function:

subroutine coupling_core_edge::cce_send_receive_amp_only ( real*8, dimension(:), intent(inout)  Ah0,
real*8, dimension(:), intent(inout)  Ah1 
)

Here is the caller graph for this function:

subroutine coupling_core_edge::cce_send_receive_as ( real*8, dimension(:), intent(inout)  As0,
real*8, dimension(:), intent(inout)  As1 
)

Send the density to the other side.

Parameters
currentthe current array of XGC to communicate.
ispthe species (0 for electrons, 1 for main ion,...)

Here is the call graph for this function:

subroutine coupling_core_edge::cce_send_receive_current ( real*8, dimension(:), intent(inout)  current0,
real*8, dimension(:), intent(inout)  current1,
integer, intent(in)  isp 
)

Send the density to the other side.

Parameters
currentthe current array of XGC to communicate.
ispthe species (0 for electrons, 1 for main ion,...)

Here is the call graph for this function:

subroutine coupling_core_edge::cce_send_receive_density ( real*8, dimension(:), intent(inout)  density0,
real*8, dimension(:), intent(inout)  density1,
integer, intent(in)  isp 
)

Send the density to the other side.

Parameters
densitythe density array of XGC to communicate.
ispthe species (0 for electrons, 1 for main ion,...)

Here is the call graph for this function:

subroutine coupling_core_edge::cce_send_receive_pot ( type(grid_type), target  grid,
type(psn_type), target  psn 
)

The field communication from main.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine coupling_core_edge::cce_send_receive_pot_only ( real*8, dimension(:), intent(inout)  dpot0,
real*8, dimension(:), intent(inout)  dpot1,
real*8, dimension(:), intent(inout)  pot0 
)

Here is the caller graph for this function:

subroutine coupling_core_edge::cce_varpi_grid ( real (8), dimension(:), intent(inout)  rho_ff)

Here is the call graph for this function:

Member Data Documentation

integer, dimension(2) coupling_core_edge::cce_buffer_first_nodes
integer, dimension(2) coupling_core_edge::cce_buffer_first_surfaces
integer, dimension(2) coupling_core_edge::cce_buffer_freq

How often do we synchronize each buffer.

integer, dimension(2) coupling_core_edge::cce_buffer_last_nodes

Location of buffers (nodes)

integer, dimension(2) coupling_core_edge::cce_buffer_last_surfaces

Location of buffers (surfaces)

integer coupling_core_edge::cce_buffer_nb

Number of buffers. Maximum value is 2, but it can be extended trivially.

integer, dimension(2) coupling_core_edge::cce_buffer_sndrcvs

Send or receive the buffer data.

integer coupling_core_edge::cce_density_node_number
integer coupling_core_edge::cce_field_first_node
integer coupling_core_edge::cce_field_first_surface
integer coupling_core_edge::cce_field_last_node
integer coupling_core_edge::cce_field_last_surface
integer coupling_core_edge::cce_field_node_number
character(256) coupling_core_edge::cce_folder

folder where coupling files are stored

logical coupling_core_edge::cce_forceresamp
logical, save coupling_core_edge::cce_initialized =.false.
real(8) coupling_core_edge::cce_inpsi
real(8) coupling_core_edge::cce_inpsi_field
character(5) coupling_core_edge::cce_my_side
integer coupling_core_edge::cce_nbsurfaces
integer coupling_core_edge::cce_number_of_surface
character(5) coupling_core_edge::cce_other_side
real(8) coupling_core_edge::cce_outpsi
integer coupling_core_edge::cce_overlap_first_node
integer coupling_core_edge::cce_overlap_first_surface
integer coupling_core_edge::cce_overlap_last_node
integer coupling_core_edge::cce_overlap_last_surface
integer coupling_core_edge::cce_side

0:core, 1: edge

integer coupling_core_edge::cce_step_amp
integer coupling_core_edge::cce_step_as
integer coupling_core_edge::cce_step_cur
integer coupling_core_edge::cce_step_den
integer coupling_core_edge::cce_step_pot
integer, dimension(:), allocatable coupling_core_edge::cce_surface_first_node
integer, dimension(:), allocatable coupling_core_edge::cce_surface_last_node
logical coupling_core_edge::cce_sync_initial_bufferandoverlap

The documentation for this module was generated from the following file: