Procedures

ProcedureLocationProcedure TypeDescription
add_analytical_E_pkorc_fieldsSubroutine
add_interp_SCE_pkorc_interpSubroutine
add_interp_SCE_p_FSkorc_interpSubroutine
adv_FOeqn_topkorc_ppusherSubroutine
adv_FOinterp_topkorc_ppusherSubroutine
adv_GCeqn_topkorc_ppusherSubroutine
adv_GCinterp_2DBdB_topkorc_ppusherSubroutine
adv_GCinterp_3DBdB1_topkorc_ppusherSubroutine
adv_GCinterp_3DBdB_topkorc_ppusherSubroutine
adv_GCinterp_B2D_topkorc_ppusherSubroutine
adv_GCinterp_B_topkorc_ppusherSubroutine
adv_GCinterp_psi2x1t_topkorc_ppusherSubroutine
adv_GCinterp_psi_topkorc_ppusherSubroutine
adv_GCinterp_psi_top_FSkorc_ppusherSubroutine
adv_GCinterp_psiwE_topkorc_ppusherSubroutine
advance_FOeqn_varskorc_ppusherSubroutine

Calls radiation_force in korc_ppusher.

advance_FOinterp_varskorc_ppusherSubroutine

Calls radiation_force in korc_ppusher.

advance_FP3Deqn_varskorc_ppusherSubroutine
advance_FP3Dinterp_varskorc_ppusherSubroutine
advance_FPeqn_varskorc_ppusherSubroutine
advance_FPinterp_varskorc_ppusherSubroutine
advance_GCeqn_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_2DBdB_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_3DBdB1_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_3DBdB_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_B2D_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_B_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_psi2x1t_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_psi_varskorc_ppusherSubroutine

Read more…
advance_GCinterp_psi_vars_FSkorc_ppusherSubroutine

Read more…
advance_GCinterp_psiwE_varskorc_ppusherSubroutine

Read more…
airynrInterface
allocate_1D_FS_arrayskorc_fieldsSubroutine

Read more…
ALLOCATE_2D_FIELDS_ARRAYSkorc_fieldsSubroutine

Read more…
ALLOCATE_2D_PROFILES_ARRAYSkorc_profilesSubroutine

@brief Subroutine that allocates the mesh information and 2-D arrays for keeping the data of pre-computed plasma profiles.

Read more…
ALLOCATE_3D_FIELDS_ARRAYSkorc_fieldsSubroutine

@brief Subroutine that allocates the variables keeping the 3-D fields data.

Read more…
ALLOCATE_3D_PROFILES_ARRAYSkorc_profilesSubroutine

Read more…
ALLOCATE_V_FIELD_2Dkorc_fieldsSubroutine

@brief Subroutine that allocates the cylindrical components of an axisymmetric field.

Read more…
ALLOCATE_V_FIELD_3Dkorc_fieldsSubroutine

@brief Subroutine that allocates the cylindrical components of a 3-D field.

Read more…
amebsanrInterface
amoebanrInterface
analytical_electric_field_cylkorc_fieldsSubroutine

Read more…
analytical_fieldskorc_fieldsSubroutine

Read more…
analytical_fields_Bmag_pkorc_fieldsSubroutine
analytical_fields_GCkorc_fieldsSubroutine
analytical_fields_GC_initkorc_fieldsSubroutine
analytical_fields_GC_pkorc_fieldsSubroutine
analytical_fields_pkorc_fieldsSubroutine
analytical_profiles_pkorc_profilesSubroutine

Read more…
angular_densitykorc_synthetic_cameraSubroutine
annealnrInterface
anticlockwise_rotationkorc_synthetic_cameraFunction
anticlockwise_rotationkorc_binning_diagnosticFunction
argkorc_synthetic_cameraFunction
array_copynrutilInterface
array_copy_dnrutilSubroutine
array_copy_inrutilSubroutine
array_copy_rnrutilSubroutine
arthnrutilInterface
arth_dnrutilFunction
arth_inrutilFunction
arth_rnrutilFunction
asolvenrInterface
assertnrutilInterface
assert1nrutilSubroutine
assert2nrutilSubroutine
assert3nrutilSubroutine
assert4nrutilSubroutine
assert_eqnrutilInterface
assert_eq2nrutilFunction
assert_eq3nrutilFunction
assert_eq4nrutilFunction
assert_eqnnrutilFunction
assert_vnrutilSubroutine
atimesnrInterface
aux_fieldskorc_ppusherSubroutine
Avalanche_4Dkorc_avalancheSubroutine

Read more…
avevarnrInterface
balancnrInterface
banbksnrInterface
bandecnrInterface
banmulnrInterface
bcucofnrInterface
bcuintnrInterface
beschbnrInterface
beschb_sspecial_fun_subroutines.f90Subroutine
beschb_vspecial_fun_subroutines.f90Subroutine
besselkkorc_synthetic_cameraFunction
besselkkorc_simple_equilibrium_pdfFunction
besselkkorc_experimental_pdfFunction
bessinrInterface
bessi0nrInterface
bessi1nrInterface
bessiknrInterface
bessikspecial_functionsSubroutine

@brief Subroutine taken from "Numerical Recipes" that calculates the modified Bessel function of

bessjnrInterface
bessj0nrInterface
bessj1nrInterface
bessjynrInterface
bessknrInterface
bessk0nrInterface
bessk1nrInterface
bessynrInterface
bessy0nrInterface
bessy1nrInterface
betanrInterface
betacfnrInterface
betainrInterface
biconrInterface
bin_variableskorc_binning_diagnosticSubroutine
binning_diagnostickorc_binning_diagnosticSubroutine
bnldevnrInterface
brentnrInterface
broydnnrInterface
bsstepnrInterface
CAkorc_collisionsFunction
CA_SDkorc_collisionsFunction
calculate_2DBdBfields_pkorc_interpSubroutine
calculate_3DBdBfields1_pkorc_interpSubroutine
calculate_3DBdBfields_pkorc_interpSubroutine
calculate_GCfields_2x1t_pkorc_interpSubroutine
calculate_GCfields_pkorc_interpSubroutine
calculate_GCfields_p_FSkorc_interpSubroutine
calculate_GCfieldswE_pkorc_interpSubroutine
calculate_initial_magnetic_fieldkorc_interpSubroutine
calculate_magnetic_fieldkorc_interpSubroutine

@brief Subroutine that calculates the axisymmetric magnetic field to the particles' position using the poloidal magnetic flux. @details When the poloidal magnetic flux is used in a KORC simulation, the magnetic field components are calculated as it follows:

Read more…
calculate_magnetic_field_pkorc_interpSubroutine
calculate_rotation_angleskorc_synthetic_cameraSubroutine

NX

calculate_SC_E1Dkorc_fieldsSubroutine
calculate_SC_E1D_FSkorc_fieldsSubroutine
calculate_SC_pkorc_fieldsSubroutine
calculate_SC_p_FSkorc_fieldsSubroutine
caldatnrInterface
cart_to_cylkorc_coordsSubroutine

Read more…
cart_to_cyl_pkorc_coordsSubroutine
cart_to_tor_check_if_confinedkorc_coordsSubroutine

Read more…
cart_to_tor_check_if_confined_pkorc_coordsSubroutine
cart_to_tor_pkorc_coordsSubroutine
CB_eekorc_collisionsFunction
CB_ee_SDkorc_collisionsFunction
CB_eikorc_collisionsFunction
CB_ei_SDkorc_collisionsFunction
CFkorc_collisionsFunction
CF_SDkorc_collisionsFunction
chdernrInterface
chebevnrInterface
chebev_sspecial_fun_subroutines.f90Function
chebev_vspecial_fun_subroutines.f90Function
chebftnrInterface
chebpcnrInterface
check_collisions_paramskorc_collisionsSubroutine
check_if_in_fields_domainkorc_interpSubroutine

Read more…
check_if_in_fields_domain_pkorc_interpSubroutine

Read more…
check_if_in_profiles_domainkorc_interpSubroutine

Read more…
check_if_in_profiles_domain_pkorc_interpSubroutine
check_if_visiblekorc_synthetic_cameraSubroutine
chickorc_synthetic_cameraFunction
chintnrInterface
choldcnrInterface
cholslnrInterface
chsonenrInterface
chstwonrInterface
cisinrInterface
clockwise_rotationkorc_synthetic_cameraFunction
clockwise_rotationkorc_binning_diagnosticFunction
CLogkorc_collisionsFunction
CLog0korc_collisionsFunction
CLog0_wukorc_collisionsFunction

With units

CLog_wukorc_collisionsFunction

With units

CLogeekorc_collisionsFunction
CLogee_wukorc_collisionsFunction

With units

CLogeikorc_collisionsFunction
CLogei_wukorc_collisionsFunction

With units

cntab1nrInterface
cntab2nrInterface
collision_forcekorc_collisionsSubroutine

For multiple-species collisions J. R. Martin-Solis et al. PoP 22, 092512 (2015) if (params%collisions .AND. (TRIM(params%collisions_model) .EQ. 'MULTIPLE_SPECIES')) then call collision_force(spp(ii),U_os,Fcoll) U_RC = U_RC + a*Fcoll/spp(ii)%q end if

compute_charcs_plasma_paramskorc_unitsSubroutine

Read more…
convlvnrInterface
correlnrInterface
cosft1nrInterface
cosft2nrInterface
covsrtnrInterface
crosskorc_fieldsFunction

Read more…
crosskorc_synthetic_cameraFunction
crosskorc_binning_diagnosticFunction
crosskorc_ppusherFunction

Read more…
crosskorc_collisionsFunction
cumprodnrutilFunction
cumsumnrutilInterface
cumsum_inrutilFunction
cumsum_rnrutilFunction
cyclicnrInterface
cyl_check_if_confinedkorc_coordsSubroutine
cyl_check_if_confined_pkorc_coordsSubroutine
cyl_to_cartkorc_coordsSubroutine

Read more…
daub4nrInterface
dawsonnrInterface
dbrentnrInterface
dCA_SDkorc_collisionsFunction
ddpolynrInterface
deallocate_collisions_paramskorc_collisionsSubroutine
DEALLOCATE_FIELDS_ARRAYSkorc_fieldsSubroutine

@brief Subroutine that deallocates all the variables of the electric and magnetic fields.

Read more…
deallocate_params_mskorc_collisionsSubroutine
deallocate_variableskorc_finalizeSubroutine

Read more…
decchknrInterface
define_collisions_time_stepkorc_collisionsSubroutine
define_SC_time_stepkorc_fieldsSubroutine
define_time_stepkorc_initializeSubroutine

Read more…
deg2radkorc_simple_equilibrium_pdfFunction
deg2radkorc_avalancheFunction
deg2radkorc_energy_pdfsFunction

@brief Function that converts @f$x@f$ from degrees to radians.

Read more…
deg2radkorc_ppusherFunction
deg2radkorc_experimental_pdfFunction
deltakorc_collisionsFunction
dfpminnrInterface
dfridrnrInterface
dftcornrInterface
dftintnrInterface
diagaddnrutilInterface
diagadd_rnrutilSubroutine
diagadd_rvnrutilSubroutine
diagmultnrutilInterface
diagmult_rnrutilSubroutine
diagmult_rvnrutilSubroutine
difeqnrInterface
diskkorc_spatial_distributionSubroutine

Read more…
eclassnrInterface
eclazznrInterface
einrInterface
eigsrtnrInterface
ellenrInterface
ellfnrInterface
elliptic_toruskorc_spatial_distributionSubroutine

Read more…
ellpinrInterface
elmhesnrInterface
erfnrInterface
erfcnrInterface
erfccnrInterface
eulsumnrInterface
evlmemnrInterface
expdevnrInterface
expintnrInterface
exponential_elliptic_toruskorc_spatial_distributionSubroutine
exponential_toruskorc_spatial_distributionSubroutine
factlnnrInterface
factrlnrInterface
faspernrInterface
fdjacnrInterface
fGammakorc_energy_pdfsFunction

@brief Function that calculates the value of the Gamma distribution @f$f_\Gamma(x,\kappa,\theta) = \frac{1}{\Gamma(\kappa) \theta^\kappa}x^{\kappa-1}\exp{\left(-x/\theta\right)}@f$.

Read more…
fGammakorc_experimental_pdfFunction
fgaussnrInterface
finalize_communicationskorc_finalizeSubroutine

Read more…
finalize_HDF5korc_HDF5Subroutine
finalize_interpolantskorc_interpSubroutine

@brief Subroutine that frees memory allocated for PSPLINE interpolants.

Read more…
finalize_mpikorc_hpcSubroutine

@brief Subroutine for finalizing MPI communications. @details This subroutine finalizes all the MPI communications and looks for errors durignt this procces.

Read more…
fitnrInterface
fitexynrInterface
fixrtsnrInterface
flegnrInterface
flmoonnrInterface
FO_initkorc_ppusherSubroutine

Calls get_fields in korc_fields.

four1nrInterface
four1_altnrInterface
four1_gathernrInterface
four2nrInterface
four2_altnrInterface
four3nrInterface
four3_altnrInterface
fourcolnrInterface
fourcol_3dnrInterface
fourn_gathernrInterface
fourrownrInterface
fourrow_3dnrInterface
fpolynrInterface
fREkorc_simple_equilibrium_pdfFunction
fREkorc_avalancheFunction
fREkorc_energy_pdfsFunction

Evaluation of the energy distribution function @f$f_{RE}(\mathcal{E})@f$ of runaway electrons as function of the normalized momentum @f$p' = p/m_ec@f$. Here, @f$p'@f$ is the normalized momentum and @f$m_e@f$ and @f$c@f$ are the electron mass and the speed of light.

Read more…
fREkorc_experimental_pdfFunction
fRE_Hkorc_experimental_pdfFunction
fRE_H_3Dkorc_experimental_pdfFunction
fRE_HxPRkorc_experimental_pdfFunction
fRE_pitchkorc_experimental_pdfFunction
fred2nrInterface
fredinnrInterface
frenelnrInterface
fRExPRkorc_experimental_pdfFunction
frprmnnrInterface
ftestnrInterface
fth_3Vkorc_velocity_distributionFunction

Read more…
funkorc_collisionsFunction
fxkorc_synthetic_cameraFunction
fzerokorc_spatial_distributionFunction
g_jkorc_collisionsFunction
gamdevnrInterface
Gammac_wukorc_collisionsFunction

With units

Gammaceekorc_collisionsFunction

Dimensionless ne and Te

gammlnnrInterface
gammpnrInterface
gammqnrInterface
gasdevnrInterface
gaucofnrInterface
gauhernrInterface
gaujacnrInterface
gaulagnrInterface
gaulegnrInterface
gaussian_elliptic_toruskorc_spatial_distributionSubroutine
gaussian_toruskorc_spatial_distributionSubroutine
gaussjnrInterface
GC_initkorc_ppusherSubroutine

Read more…
GCEoM1_pkorc_ppusherSubroutine
GCEoM_pkorc_ppusherSubroutine
gcfnrInterface
generate_2D_hammersley_sequencekorc_hammersley_generatorSubroutine

@brief Subroutine for generating a 2-D Hammersley sequence. @details This subroutine uses the algorithm for generating a 1-D Hammersley sequence. Each MPI process in KORC generates a (different) subset of pairs (X,Y) of a 2-D Hammersley sequence. The total number of pairs (X,Y) is NMPIS*N, where NMPIS is the number of MPI processes in the simulation and N is the number of particles followed by each MPI process. Each subset of pairs (X,Y) has N elements.

Read more…
geopnrutilInterface
geop_cnrutilFunction
geop_dnrutilFunction
geop_dvnrutilFunction
geop_inrutilFunction
geop_rnrutilFunction
get_analytical_fieldskorc_fieldsSubroutine

Read more…
get_analytical_profileskorc_profilesSubroutine

Read more…
get_Avalanche_4Dkorc_avalancheSubroutine
get_avalanche_distributionkorc_avalancheSubroutine
get_diagnrutilInterface
get_diag_dvnrutilFunction
get_diag_rvnrutilFunction
get_equilibrium_distributionkorc_simple_equilibrium_pdfSubroutine
get_experimentalG_distributionkorc_experimental_pdfSubroutine
get_fieldskorc_fieldsSubroutine

Read more…
get_gamma_distributionkorc_energy_pdfsSubroutine

@brief Subroutine that contains calls to subroutine to generate a gamma distribution for the energy distribution of a given species in the simulation.

Read more…
get_Hollmann_distributionkorc_experimental_pdfSubroutine
get_Hollmann_distribution_3Dkorc_experimental_pdfSubroutine
get_Hollmann_distribution_3D_psikorc_experimental_pdfSubroutine
get_profileskorc_profilesSubroutine

Read more…
get_randomkorc_randomFunction
get_random_Nkorc_randomFunction
get_random_Ukorc_randomFunction
goldennrInterface
gradient_2D_Bfieldskorc_interpSubroutine

Read more…
gsernrInterface
gyro_distributionkorc_velocity_distributionSubroutine

Read more…
h_jkorc_collisionsFunction
hammersleykorc_hammersley_generatorSubroutine

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html". ************80

Read more…
hammersley_inversekorc_hammersley_generatorSubroutine

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html".

Read more…
hammersley_sequencekorc_hammersley_generatorSubroutine

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html". ************80

Read more…
hqrnrInterface
huntnrInterface
hypdrvnrInterface
hypgeonrInterface
hypsernrInterface
i1save_to_hdf5korc_HDF5Subroutine
i2save_to_hdf5korc_HDF5Subroutine
i4save_to_hdf5korc_HDF5Subroutine
i8save_to_hdf5korc_HDF5Subroutine
icrcnrInterface
ifirstlocnrutilFunction
igraynrInterface
iload_from_hdf5korc_HDF5Subroutine
imaxlocnrutilInterface
imaxloc_inrutilFunction
imaxloc_rnrutilFunction
iminlocnrutilFunction
include_CoulombCollisions_FO_pkorc_collisionsSubroutine

This subroutine performs a Stochastic collision process consistent with the Fokker-Planck model for relativitic electron colliding with a thermal (Maxwellian) plasma. The collision operator is in spherical coordinates of the form found in Papp et al., NF (2011). CA corresponds to the parallel (speed diffusion) process, CF corresponds to a slowing down (momentum loss) process, and CB corresponds to a perpendicular diffusion process. Ordering of the processes are and only the dominant terms are kept.

include_CoulombCollisions_GC_pkorc_collisionsSubroutine
index_bypacknrInterface
indexxnrInterface
indicatorkorc_spatial_distributionFunction
indicatorkorc_avalancheFunction

Compares argument psi to chosen psi_max, returning step function.

indicator_expkorc_experimental_pdfFunction
init_random_seedkorc_rnd_numbersSubroutine
init_SC_E1Dkorc_fieldsSubroutine
init_SC_E1D_FSkorc_fieldsSubroutine
init_u_randomkorc_rnd_numbersSubroutine
initial_energy_pitch_distkorc_velocity_distributionSubroutine

Read more…
initial_gyro_distributionkorc_velocity_distributionSubroutine

Read more…
initialize_avalanche_paramskorc_avalancheSubroutine
initialize_binning_diagnostickorc_binning_diagnosticSubroutine
initialize_collision_paramskorc_collisionsSubroutine
initialize_communicationskorc_hpcSubroutine
initialize_fieldskorc_fieldsSubroutine

Read more…
initialize_fields_interpolantkorc_interpSubroutine

Read more…
initialize_gamma_paramskorc_energy_pdfsSubroutine

@brief Subroutine that reads from the input file the parameters of the Gamma distribution @f$f_\Gamma(x,\kappa,\theta) = \frac{1}{\Gamma(\kappa) \theta^\kappa}x^{\kappa-1}\exp{\left(-x/\theta\right)}@f$.

Read more…
initialize_GC_fieldskorc_fieldsSubroutine

Computes the auxiliary fields and that are used in the RHS of the evolution equations for the GC orbit model.

initialize_GC_fields_3Dkorc_fieldsSubroutine

Computes the auxiliary fields and that are used in the RHS of the evolution equations for the GC orbit model.

initialize_HDF5korc_HDF5Subroutine
initialize_Hollmann_paramskorc_experimental_pdfSubroutine
initialize_korc_parameterskorc_initializeSubroutine

Read more…
initialize_mpikorc_hpcSubroutine

Read more…
initialize_paramskorc_simple_equilibrium_pdfSubroutine
initialize_paramskorc_experimental_pdfSubroutine
initialize_particle_pusherkorc_ppusherSubroutine

Read more…
initialize_particleskorc_initializeSubroutine

Read more…
initialize_profileskorc_profilesSubroutine

Read more…
initialize_profiles_interpolantkorc_interpSubroutine

Read more…
initialize_randomkorc_randomSubroutine
initialize_random_Nkorc_randomSubroutine
initialize_random_Ukorc_randomSubroutine
initialize_SC1D_field_interpolantkorc_interpSubroutine

Read more…
initialize_SC1D_field_interpolant_FSkorc_interpSubroutine

Read more…
initialize_synthetic_camerakorc_synthetic_cameraSubroutine
IntBesselKkorc_synthetic_cameraFunction
IntBesselKkorc_simple_equilibrium_pdfFunction
IntBesselKkorc_experimental_pdfFunction

@brief Extended trapezoidal rule for integrating the modified Bessel function of second kind. See Sec. 4.2 of Numerical Recipies in Fortran 77.

integrated_angular_densitykorc_synthetic_cameraSubroutine
integrated_SE_3Dkorc_synthetic_cameraSubroutine
integrated_spectral_densitykorc_synthetic_cameraSubroutine
interpnrInterface
interp_2D_bfieldskorc_interpSubroutine

Read more…
interp_2D_curlbfieldskorc_interpSubroutine

Read more…
interp_2D_efieldskorc_interpSubroutine

@brief Subroutine for interpolating the pre-computed, axisymmetric electric field to the particles' position.

Read more…
interp_2D_gradBfieldskorc_interpSubroutine

Read more…
interp_2D_profileskorc_interpSubroutine

Read more…
interp_3D_bfieldskorc_interpSubroutine

@brief Subroutine for interpolating the pre-computed, 3-D magnetic field to the particles' position.

Read more…
interp_3D_efieldskorc_interpSubroutine

@brief Subroutine for interpolating the pre-computed 3-D electric field to the particles' position.

Read more…
interp_3D_profileskorc_interpSubroutine

Read more…
interp_bmag_pkorc_interpSubroutine
interp_collision_pkorc_interpSubroutine
interp_fieldskorc_interpSubroutine

Read more…
interp_fields_3D_pkorc_interpSubroutine
interp_fields_pkorc_interpSubroutine
interp_FOcollision_pkorc_interpSubroutine
interp_FOfields1_pkorc_interpSubroutine
interp_FOfields_pkorc_interpSubroutine
interp_profileskorc_interpSubroutine

Read more…
IntGammakorc_experimental_pdfFunction

@brief Extended trapezoidal rule for integrating the Gamma PDF. See Sec. 4.2 of Numerical Recipies in Fortran 77.

intitial_spatial_distributionkorc_spatial_distributionSubroutine

Read more…
IntKkorc_synthetic_cameraFunction
IntKkorc_simple_equilibrium_pdfFunction
IntKkorc_experimental_pdfFunction
irbit1nrInterface
irbit2nrInterface
is_visiblekorc_synthetic_cameraSubroutine
isave_1d_array_to_hdf5korc_HDF5Subroutine
jacobinrInterface
jacobnnrInterface
juldaynrInterface
kendl1nrInterface
kendl2nrInterface
kermomnrInterface
korc_abortkorc_hpcSubroutine

Read more…
ks2d1snrInterface
ks2d2snrInterface
ksonenrInterface
kstwonrInterface
laguernrInterface
lfitnrInterface
linbcgnrInterface
linminnrInterface
lnsrchnrInterface
load_1D_FS_from_hdf5korc_fieldsSubroutine
load_array_from_hdf5korc_HDF5Interface

Read more…
load_data_from_hdf5korc_experimental_pdfSubroutine
load_dim_data_from_hdf5korc_fieldsSubroutine

@brief Subroutine that loads the size of the arrays having the electric and magnetic field data. @details All the information of externally calculated fields must be given in a rectangular, equally spaced mesh in the space of cylindrical coordinates. If the fields are axisymmetric, then the fields must be in a rectangular mesh on the -plane.

Read more…
load_field_data_from_hdf5korc_fieldsSubroutine

@brief Subroutine that loads the fields data from the HDF5 input file.

Read more…
load_from_hdf5korc_HDF5Interface

Read more…
load_korc_paramskorc_initializeSubroutine

Read more…
load_params_mskorc_collisionsSubroutine
load_params_sskorc_collisionsSubroutine
load_particles_ickorc_HDF5Subroutine

Read more…
load_prev_iterkorc_HDF5Subroutine

Read more…
load_prev_timekorc_HDF5Subroutine

Read more…
load_profiles_data_from_hdf5korc_profilesSubroutine

Read more…
load_time_stepping_paramskorc_HDF5Subroutine

Read more…
locatenrInterface
log10fREkorc_avalancheFunction
lopnrInterface
lower_trianglenrutilFunction
lubksbnrInterface
ludcmpnrInterface
macharnrInterface
masked_swap_rmnrutilSubroutine
masked_swap_rsnrutilSubroutine
masked_swap_rvnrutilSubroutine
mean_F_fieldkorc_fieldsSubroutine

Read more…
medfitnrInterface
memcofnrInterface
mgfasnrInterface
mglinnrInterface
MH_gaussian_elliptic_toruskorc_spatial_distributionSubroutine

Read more…
MH_psikorc_spatial_distributionSubroutine

Read more…
midexpnrInterface
midinfnrInterface
midpntnrInterface
midsqlnrInterface
midsqunrInterface
misernrInterface
mmidnrInterface
mnbraknrInterface
mnewtnrInterface
momentnrInterface
mp2dfrnrInterface
mpdivnrInterface
mpinvnrInterface
mpmulnrInterface
mppinrInterface
mprovenrInterface
mpSQRTnrInterface
mrqcofnrInterface
mrqminnrInterface
newtnrInterface
normalize_collisions_paramskorc_collisionsSubroutine
normalize_Hollmann_paramskorc_experimental_pdfSubroutine
normalize_params_mskorc_collisionsSubroutine
normalize_params_sskorc_collisionsSubroutine

Calculate constant quantities used in various functions within this module

normalize_variableskorc_unitsSubroutine

Read more…
nrerrornrutilSubroutine
nu_Dkorc_collisionsFunction
nu_parkorc_collisionsFunction
nu_Skorc_collisionsFunction
odeintnrInterface
orthognrInterface
outerandnrutilFunction
outerdiffnrutilInterface
outerdiff_dnrutilFunction
outerdiff_inrutilFunction
outerdiff_rnrutilFunction
outerdivnrutilFunction
outerprodnrutilInterface
outerprod_dnrutilFunction
outerprod_rnrutilFunction
outersumnrutilFunction
P1korc_synthetic_cameraFunction
P_integralkorc_synthetic_cameraSubroutine
P_integralkorc_simple_equilibrium_pdfSubroutine
P_integralkorc_experimental_pdfSubroutine
padenrInterface
pcchebnrInterface
pcshftnrInterface
pearsnnrInterface
periodnrInterface
plgndrnrInterface
Pokorc_synthetic_cameraFunction
poidevnrInterface
polcoenrInterface
polcofnrInterface
poldivnrInterface
polin2nrInterface
polintnrInterface
polynrutilInterface
poly_ccnrutilFunction
poly_ddnrutilFunction
poly_ddvnrutilFunction
poly_msk_ddvnrutilFunction
poly_msk_rrvnrutilFunction
poly_rcnrutilFunction
poly_rrnrutilFunction
poly_rrvnrutilFunction
poly_termnrutilInterface
poly_term_ccnrutilFunction
poly_term_rrnrutilFunction
powellnrInterface
PRkorc_simple_equilibrium_pdfFunction
PRkorc_experimental_pdfFunction
predicnrInterface
primekorc_hammersley_generatorFunction

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html". ************80

Read more…
probksnrInterface
psdesnrInterface
psikorc_collisionsFunction
PSI_ROTkorc_spatial_distributionFunction
PSI_ROTkorc_avalancheFunction

Calculates value of argument of 2D Gaussian spatial distribution with with counter-clockwise rotation.

PSI_ROT_expkorc_experimental_pdfFunction
psickorc_synthetic_cameraFunction
Psynkorc_synthetic_cameraFunction
put_diagnrutilInterface
put_diag_rnrutilSubroutine
put_diag_rvnrutilSubroutine
pwtnrInterface
pwtsetnrInterface
pythagnrInterface
pzextrnrInterface
qrdcmpnrInterface
qrombnrInterface
qromonrInterface
qrootnrInterface
qrsolvnrInterface
qrupdtnrInterface
qsimpnrInterface
qtrapnrInterface
quadctnrInterface
quadmxnrInterface
quadvlnrInterface
r8mat_printkorc_hammersley_generatorSubroutine

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html". ************80

Read more…
r8mat_print_somekorc_hammersley_generatorSubroutine

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html". ************80

Read more…
rad2degkorc_synthetic_cameraFunction
rad2degkorc_simple_equilibrium_pdfFunction
rad2degkorc_ppusherFunction
rad2degkorc_experimental_pdfFunction
radiation_force_pkorc_ppusherSubroutine
rannrInterface
ran0nrInterface
ran1nrInterface
ran2nrInterface
ran3nrInterface
rand_int32korc_rnd_numbersSubroutine
rand_int64korc_rnd_numbersSubroutine
rand_realkorc_rnd_numbersSubroutine
rand_real_arraykorc_rnd_numbersSubroutine
random_construct_Nkorc_randomInterface
random_construct_Ukorc_randomInterface
random_destroy_Nkorc_randomInterface
random_destroy_Ukorc_randomInterface
random_get_number_Nkorc_randomInterface
random_get_number_Ukorc_randomInterface
random_normkorc_simple_equilibrium_pdfFunction
random_normkorc_spatial_distributionFunction
random_normkorc_avalancheFunction
random_normkorc_energy_pdfsFunction

@brief Gaussian random number generator. @details This function returns a deviate of a Gaussian distribution @f$f_G(x;\mu,\sigma) = \frac{1}{\sigma\sqrt{2\pi}} \exp{\left( -(x-\mu)^2/2\sigma^2 \right)}@f$, with mean @f$\mu@f$, and standard deviation @f$\sigma@f$.

Read more…
random_normkorc_experimental_pdfFunction
random_normkorc_velocity_distributionFunction

Read more…
ranknrInterface
ratintnrInterface
ratlsqnrInterface
ratvalnrInterface
rcnrInterface
rdnrInterface
realftnrInterface
reallocatenrutilInterface
reallocate_hvnrutilFunction
reallocate_imnrutilFunction
reallocate_ivnrutilFunction
reallocate_rmnrutilFunction
reallocate_rvnrutilFunction
recur1nrInterface
recur2nrInterface
reinit_SC_E1Dkorc_fieldsSubroutine
reinit_SC_E1D_FSkorc_fieldsSubroutine
relaxnrInterface
relax2nrInterface
residnrInterface
rfnrInterface
rjnrInterface
rk4nrInterface
rkcknrInterface
rkdumbnrInterface
rkqsnrInterface
rlft2nrInterface
rlft3nrInterface
rload_1d_array_from_hdf5korc_HDF5Subroutine
rload_2d_array_from_hdf5korc_HDF5Subroutine
rload_3d_array_from_hdf5korc_HDF5Subroutine
rload_from_hdf5korc_HDF5Subroutine
rotatenrInterface
rsave_1d_array_to_hdf5korc_HDF5Subroutine
rsave_2d_array_to_hdf5korc_HDF5Subroutine
rsave_3d_array_to_hdf5korc_HDF5Subroutine
rsave_to_hdf5korc_HDF5Subroutine
rsolvnrInterface
rstrctnrInterface
rtbisnrInterface
rtflspnrInterface
rtnewtnrInterface
rtsafenrInterface
rtsecnrInterface
rzextrnrInterface
sample_distributionkorc_simple_equilibrium_pdfSubroutineRead more…
sample_distributionkorc_avalancheSubroutine
sample_distributionkorc_experimental_pdfSubroutineRead more…
sample_gamma_distributionkorc_energy_pdfsSubroutine

@brief Subroutine that samples a Gamma distribution representing the runaways' (marginal) energy distribution function. @details This subroutine uses the Metropolis-Hastings method for sampling the Gamma distribution representing the runaways' (marginal) energy distribution function. Unlike the typical Metropolis-Hasting method, after setting the boundaries of the region we want to sample, we perform a sampling in a larger region that contains the original sampling area plus a buffer region. After finishing the first sampling, we only keep the particles in the original sampling region, the particles in the p_buffer are sampled again until all of them lie within the original sampling region. This method ensures that the boundaries are well sampled.

Read more…
sample_Hollmann_distributionkorc_experimental_pdfSubroutine

MCMC and MH algorithm perfomred on single MPI process to sample distribution function fRE_H

sample_Hollmann_distribution_3Dkorc_experimental_pdfSubroutine

Read more…
sample_Hollmann_distribution_3D_psikorc_experimental_pdfSubroutine

Read more…
sample_poloidal_fluxkorc_interpSubroutine
save_1d_array_to_hdf5korc_HDF5Interface
save_2d_array_to_hdf5korc_HDF5Interface
save_3d_array_to_hdf5korc_HDF5Interface
save_array_to_hdf5korc_HDF5Interface
save_avalanche_paramskorc_avalancheSubroutine
save_binning_diagnostic_paramskorc_binning_diagnosticSubroutine
save_collision_paramskorc_collisionsSubroutine
save_gamma_paramskorc_energy_pdfsSubroutine

@brief Surboutine that saves the Gamma distribution parameters to the HDF5 file gamma_distribution_parameters.h5.

Read more…
save_Hollmann_paramskorc_experimental_pdfSubroutine
save_paramskorc_simple_equilibrium_pdfSubroutine
save_paramskorc_experimental_pdfSubroutine
save_params_mskorc_collisionsSubroutine
save_params_sskorc_collisionsSubroutine
save_restart_variableskorc_HDF5Subroutine

Read more…
save_simulation_outputskorc_HDF5Subroutine

Read more…
save_simulation_parameterskorc_HDF5Subroutine

Read more…
save_snapshot_varkorc_synthetic_cameraInterface
save_snapshot_varkorc_binning_diagnosticInterface
save_snapshot_var_1dkorc_synthetic_cameraSubroutine
save_snapshot_var_1dkorc_binning_diagnosticSubroutine
save_snapshot_var_2dkorc_synthetic_cameraSubroutine
save_snapshot_var_2dkorc_binning_diagnosticSubroutine
save_snapshot_var_3dkorc_synthetic_cameraSubroutine
save_snapshot_var_3dkorc_binning_diagnosticSubroutine
save_snapshot_var_4dkorc_synthetic_cameraSubroutine
save_snapshot_var_4dkorc_binning_diagnosticSubroutine
save_string_parameterkorc_HDF5Subroutine
save_synthetic_camera_paramskorc_synthetic_cameraSubroutine
save_to_hdf5korc_HDF5Interface

Read more…
savgolnrInterface
scatter_addnrutilInterface
scatter_add_dnrutilSubroutine
scatter_add_rnrutilSubroutine
scatter_maxnrutilInterface
scatter_max_dnrutilSubroutine
scatter_max_rnrutilSubroutine
scrshonrInterface
selectnrInterface
select_bypacknrInterface
select_heapnrInterface
select_inplacenrInterface
set_pathskorc_initializeSubroutine

Read more…
set_up_particles_ickorc_initializeSubroutine

Read more…
simplxnrInterface
simprnrInterface
sinftnrInterface
slvsm2nrInterface
slvsmlnrInterface
sncndnnrInterface
snrmnrInterface
sobseqnrInterface
solvdenrInterface
sornrInterface
sortnrInterface
sort2nrInterface
sort3nrInterface
sort_bypacknrInterface
sort_byreshapenrInterface
sort_heapnrInterface
sort_picknrInterface
sort_radixnrInterface
sort_shellnrInterface
spctrmnrInterface
spearnrInterface
spectral_densitykorc_synthetic_cameraSubroutine
sphbesnrInterface
splie2nrInterface
splin2nrInterface
splinenrInterface
splintnrInterface
Spong_2Dkorc_spatial_distributionFunction
Spong_3Dkorc_spatial_distributionSubroutine

Read more…
sprsaxnrInterface
sprsdiagnrInterface
sprsinnrInterface
sprstpnrInterface
sprstxnrInterface
stifbsnrInterface
stiffnrInterface
stoermnrInterface
svbksbnrInterface
svdcmpnrInterface
svdfitnrInterface
svdvarnrInterface
swapnrutilInterface
swap_cnrutilSubroutine
swap_cmnrutilSubroutine
swap_cvnrutilSubroutine
swap_inrutilSubroutine
swap_rnrutilSubroutine
swap_rvnrutilSubroutine
swap_znrutilSubroutine
swap_zmnrutilSubroutine
swap_zvnrutilSubroutine
synthetic_camerakorc_synthetic_cameraSubroutine
testkorc_synthetic_cameraSubroutine
test_analytical_formulakorc_synthetic_cameraSubroutine
testbesselkvkorc_synthetic_cameraSubroutine
thermal_distributionkorc_velocity_distributionSubroutine

Read more…
timestampkorc_hammersley_generatorSubroutine

@brief For more info please visit "https://people.sc.fsu.edu/~jburkardt/f_src/hammersley/hammersley.html". ************80

Read more…
timing_KORCkorc_hpcSubroutine

Read more…
toeplznrInterface
toruskorc_spatial_distributionSubroutine

Read more…
tptestnrInterface
tqlinrInterface
trapzkorc_synthetic_cameraFunction
trapzdnrInterface
tred2nrInterface
tridagnrInterface
tridag_sernrInterface
ttestnrInterface
tutestnrInterface
twofftnrInterface
u_randomkorc_rnd_numbersInterface
uniformkorc_spatial_distributionSubroutine

Read more…
uniform_electric_fieldkorc_fieldsSubroutine

Read more…
uniform_fieldskorc_fieldsSubroutine

Read more…
uniform_magnetic_fieldkorc_fieldsSubroutine

Read more…
uniform_profileskorc_profilesSubroutine

Read more…
unit_matrixnrutilSubroutine
unitVectorskorc_fieldsSubroutine

Read more…
unitVectors_pkorc_collisionsSubroutine
unitVectorsCkorc_collisionsSubroutine
update_avalanche_paramskorc_avalancheSubroutine

Updates the avalanche parameters aval_params% at each step in the MCMC after the profiles are interpolated at the sampled R,Z location.

upper_trianglenrutilFunction
vabsnrutilFunction
vandernrInterface
vegasnrInterface
voltranrInterface
VTekorc_collisionsFunction

Dimensionless temperature

VTe_wukorc_collisionsFunction
which_fields_in_filekorc_fieldsSubroutine

@brief Subroutine that queries the HDF5 file what data are present in the HDF5 input file (sanity check).

Read more…
wt1nrInterface
wtnnrInterface
wwghtsnrInterface
zbracnrInterface
zbraknrInterface
zbrentnrInterface
zetakorc_synthetic_cameraFunction
zrhqrnrInterface
zriddrnrInterface
zrootsnrInterface
zroots_unitynrutilFunction