XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
cpp_main_loop_module Module Reference

Public Member Functions

subroutine set_sml_istep_and_gstep (istep)
 
subroutine get_sml_gstep_and_sml_time (gstep, time)
 
subroutine set_sml_em_es_step (is_electrostatic, ncycle_half, dt)
 Sets the global variable sml_em_es_step, which indicates whether the electromagnetic or the electrostatic algorithm is used when EXPLICIT_EM=On. The input variable is_electrostatic is controlled by the function switch_em_es in the C++ code. More...
 
integer function get_spall_num_g (isp)
 
integer function get_heat_mode ()
 
integer function get_sml_mype ()
 
integer function get_nlarmor ()
 
subroutine set_spall_num_and_ptr (isp, n_ptl, n_vecs, ptl)
 
subroutine set_min_max_num (isp, n_ptl)
 
subroutine solve_poisson_turb_wrap (ipc, adiabatic_in)
 C++ callable wrapper for solving the turbulent Poisson equation (|n|>0,m) More...
 
subroutine solve_poisson_axisym_wrap (ipc, adiabatic_in)
 C++ callable wrapper for solving the axisymmetric Poisson equation (n=0,m) More...
 
subroutine solve_ampere_wrap (ipc, CV_int)
 
subroutine set_as_ah (iss, ish, ihs, ihh)
 
subroutine push_as_wrap (ipc, iflag)
 
integer function do_diag_marker_den (istep)
 
integer function do_diag_additional ()
 
subroutine set_sml_symmetric_f ()
 
subroutine relax_test_prep_wrap ()
 
subroutine f_nan_check (f0_f)
 
subroutine diag_f0_df_port1_wrap (index_diag_f0_df, f0_f, f0_df0g)
 
subroutine f_diffusion_wrap (f0_f, f0_n, f0_df0g, df0g_tmp)
 
subroutine df0g_nan_check_wrap (f0_df0g)
 
subroutine heat_and_torque_sources_wrap (f0_f, f0_df0g)
 
subroutine neutral_particle_recycling_wrap (f0_f, f0_df0g)
 
subroutine pellet_ablation (f0_df0g)
 
subroutine f_radiation_wrap (f0_f, f0_df0g)
 
subroutine df0g_nan_remove_wrap (f0_df0g)
 
subroutine df0g_near_wall_remove_wrap ()
 
subroutine diag_f0_df_wrap ()
 
subroutine set_sml_time ()
 
integer function do_resampling ()
 
integer function do_f0_upsampling ()
 
integer function get_resamp_tile_size ()
 
integer function get_inode1 ()
 
integer function get_inode2 ()
 
subroutine write_restart_p1 ()
 
subroutine write_restart_p2 ()
 
subroutine update_lbct_cpp_interface ()
 
subroutine diagnosis_cpp_interface (istep, irk)
 
subroutine sheath_adjust_mode1_cpp_interface ()
 
subroutine update_3db_cpp_interface ()
 
subroutine get_3db_rampup_fac (rampup_fac)
 
subroutine flush_timers (istep)
 
subroutine update_solvers_cpp_interface ()
 
integer function do_chargei_for_chargee_bg ()
 
integer function do_collisions ()
 
subroutine copy_psn_ah_to_ah_cv ()
 
integer function force_pseudo_inv ()
 
integer function pseudo_inv_particles_to_grid_petsc ()
 
integer function pseudo_inv_delta_grid ()
 
integer function do_tracer_diag (istep)
 
integer(8) function get_diag_tracer_gid ()
 
integer(8) function get_diag_tracer_sp ()
 
integer function do_diag_f0_df ()
 
real(8) function get_sml_tran ()
 

Member Function/Subroutine Documentation

subroutine cpp_main_loop_module::copy_psn_ah_to_ah_cv ( )
subroutine cpp_main_loop_module::df0g_nan_check_wrap ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g)

Here is the call graph for this function:

subroutine cpp_main_loop_module::df0g_nan_remove_wrap ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g)

Here is the call graph for this function:

subroutine cpp_main_loop_module::df0g_near_wall_remove_wrap ( )
subroutine cpp_main_loop_module::diag_f0_df_port1_wrap ( integer, intent(in)  index_diag_f0_df,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_f,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_df0g 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::diag_f0_df_wrap ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::diagnosis_cpp_interface ( integer  istep,
integer  irk 
)

Here is the call graph for this function:

integer function cpp_main_loop_module::do_chargei_for_chargee_bg ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::do_collisions ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::do_diag_additional ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::do_diag_f0_df ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::do_diag_marker_den ( integer, intent(in)  istep)

Here is the call graph for this function:

integer function cpp_main_loop_module::do_f0_upsampling ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::do_resampling ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::do_tracer_diag ( integer, intent(in)  istep)

Here is the call graph for this function:

subroutine cpp_main_loop_module::f_diffusion_wrap ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_f,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_n,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  df0g_tmp 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::f_nan_check ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_f)

Here is the call graph for this function:

subroutine cpp_main_loop_module::f_radiation_wrap ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_f,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::flush_timers ( integer  istep)

Here is the call graph for this function:

integer function cpp_main_loop_module::force_pseudo_inv ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::get_3db_rampup_fac ( real(c_double), intent(out)  rampup_fac)
integer(8) function cpp_main_loop_module::get_diag_tracer_gid ( )

Here is the call graph for this function:

integer(8) function cpp_main_loop_module::get_diag_tracer_sp ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::get_heat_mode ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::get_inode1 ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::get_inode2 ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::get_nlarmor ( )
integer function cpp_main_loop_module::get_resamp_tile_size ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::get_sml_gstep_and_sml_time ( integer(c_int), intent(out)  gstep,
real(c_double), intent(out)  time 
)
integer function cpp_main_loop_module::get_sml_mype ( )

Here is the call graph for this function:

real(8) function cpp_main_loop_module::get_sml_tran ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::get_spall_num_g ( integer  isp)

Here is the call graph for this function:

subroutine cpp_main_loop_module::heat_and_torque_sources_wrap ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_f,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::neutral_particle_recycling_wrap ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(in)  f0_f,
real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::pellet_ablation ( real (8), dimension(-f0_nvp:f0_nvp, f0_inode1:f0_inode2, f0_imu1:f0_imu2, ptl_isp:ptl_nsp), intent(inout)  f0_df0g)

Here is the call graph for this function:

integer function cpp_main_loop_module::pseudo_inv_delta_grid ( )

Here is the call graph for this function:

integer function cpp_main_loop_module::pseudo_inv_particles_to_grid_petsc ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::push_as_wrap ( integer  ipc,
integer  iflag 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::relax_test_prep_wrap ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::set_as_ah ( integer  iss,
integer  ish,
integer  ihs,
integer  ihh 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::set_min_max_num ( integer  isp,
integer  n_ptl 
)
subroutine cpp_main_loop_module::set_sml_em_es_step ( integer(c_int)  is_electrostatic,
integer(c_int)  ncycle_half,
real(c_double)  dt 
)

Sets the global variable sml_em_es_step, which indicates whether the electromagnetic or the electrostatic algorithm is used when EXPLICIT_EM=On. The input variable is_electrostatic is controlled by the function switch_em_es in the C++ code.

Parameters
[in]is_electrostaticindicator for ES time step, integer
subroutine cpp_main_loop_module::set_sml_istep_and_gstep ( integer  istep)
subroutine cpp_main_loop_module::set_sml_symmetric_f ( )
subroutine cpp_main_loop_module::set_sml_time ( )
subroutine cpp_main_loop_module::set_spall_num_and_ptr ( integer  isp,
integer  n_ptl,
integer  n_vecs,
type(ptl_type_aosoa), dimension(n_vecs), target  ptl 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::sheath_adjust_mode1_cpp_interface ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::solve_ampere_wrap ( integer  ipc,
integer  CV_int 
)

Here is the call graph for this function:

subroutine cpp_main_loop_module::solve_poisson_axisym_wrap ( integer  ipc,
integer  adiabatic_in 
)

C++ callable wrapper for solving the axisymmetric Poisson equation (n=0,m)

Parameters
[in]ipcRK2 stage index
[in]adiabatic_in0: full Poisson solve; 1: adiabatic Poisson solve

Here is the call graph for this function:

subroutine cpp_main_loop_module::solve_poisson_turb_wrap ( integer  ipc,
integer  adiabatic_in 
)

C++ callable wrapper for solving the turbulent Poisson equation (|n|>0,m)

Parameters
[in]ipcRK2 stage index
[in]adiabatic_in0: full Poisson solve; 1: adiabatic Poisson solve

Here is the call graph for this function:

subroutine cpp_main_loop_module::update_3db_cpp_interface ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::update_lbct_cpp_interface ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::update_solvers_cpp_interface ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::write_restart_p1 ( )

Here is the call graph for this function:

subroutine cpp_main_loop_module::write_restart_p2 ( )

Here is the call graph for this function:


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