korc_velocity_distribution Module


Uses

  • module~~korc_velocity_distribution~~UsesGraph module~korc_velocity_distribution korc_velocity_distribution module~korc_avalanche korc_avalanche module~korc_velocity_distribution->module~korc_avalanche module~korc_hpc korc_hpc module~korc_velocity_distribution->module~korc_hpc module~korc_rnd_numbers korc_rnd_numbers module~korc_velocity_distribution->module~korc_rnd_numbers module~korc_hdf5 korc_HDF5 module~korc_velocity_distribution->module~korc_hdf5 module~korc_energy_pdfs korc_energy_pdfs module~korc_velocity_distribution->module~korc_energy_pdfs module~korc_simple_equilibrium_pdf korc_simple_equilibrium_pdf module~korc_velocity_distribution->module~korc_simple_equilibrium_pdf module~korc_experimental_pdf korc_experimental_pdf module~korc_velocity_distribution->module~korc_experimental_pdf module~korc_constants korc_constants module~korc_velocity_distribution->module~korc_constants module~korc_hammersley_generator korc_hammersley_generator module~korc_velocity_distribution->module~korc_hammersley_generator module~korc_fields korc_fields module~korc_velocity_distribution->module~korc_fields module~korc_types korc_types module~korc_velocity_distribution->module~korc_types module~korc_avalanche->module~korc_hpc module~korc_avalanche->module~korc_hdf5 module~korc_avalanche->module~korc_constants module~korc_avalanche->module~korc_fields module~korc_avalanche->module~korc_types module~korc_input korc_input module~korc_avalanche->module~korc_input module~korc_profiles korc_profiles module~korc_avalanche->module~korc_profiles module~korc_coords korc_coords module~korc_avalanche->module~korc_coords module~korc_hpc->module~korc_types omp_lib omp_lib module~korc_hpc->omp_lib mpi mpi module~korc_hpc->mpi module~korc_rnd_numbers->module~korc_types ifport ifport module~korc_rnd_numbers->ifport module~korc_hdf5->module~korc_hpc module~korc_hdf5->module~korc_constants module~korc_hdf5->module~korc_types HDF5 HDF5 module~korc_hdf5->HDF5 module~korc_energy_pdfs->module~korc_hpc module~korc_energy_pdfs->module~korc_hdf5 module~korc_energy_pdfs->module~korc_constants module~korc_energy_pdfs->module~korc_types module~korc_energy_pdfs->module~korc_input module~korc_simple_equilibrium_pdf->module~korc_hpc module~korc_simple_equilibrium_pdf->module~korc_hdf5 module~korc_simple_equilibrium_pdf->module~korc_constants module~korc_simple_equilibrium_pdf->module~korc_types module~korc_simple_equilibrium_pdf->module~korc_input module~special_functions special_functions module~korc_simple_equilibrium_pdf->module~special_functions module~korc_experimental_pdf->module~korc_hpc module~korc_experimental_pdf->module~korc_rnd_numbers module~korc_experimental_pdf->module~korc_hdf5 module~korc_experimental_pdf->module~korc_constants module~korc_experimental_pdf->module~korc_fields module~korc_experimental_pdf->module~korc_types module~korc_experimental_pdf->module~korc_input module~korc_interp korc_interp module~korc_experimental_pdf->module~korc_interp module~korc_random korc_random module~korc_experimental_pdf->module~korc_random module~korc_experimental_pdf->module~special_functions module~korc_experimental_pdf->module~korc_coords module~korc_constants->module~korc_types module~korc_hammersley_generator->module~korc_types module~korc_fields->module~korc_hpc module~korc_fields->module~korc_hdf5 module~korc_fields->module~korc_types module~korc_fields->module~korc_input module~korc_fields->module~korc_interp module~korc_fields->module~korc_coords iso_c_binding iso_c_binding module~korc_types->iso_c_binding module~korc_input->module~korc_hpc module~korc_input->module~korc_types module~korc_interp->module~korc_hpc module~korc_interp->module~korc_rnd_numbers module~korc_interp->module~korc_types module~korc_interp->module~korc_coords EZspline_obj EZspline_obj module~korc_interp->EZspline_obj EZspline EZspline module~korc_interp->EZspline module~korc_fio korc_fio module~korc_interp->module~korc_fio module~korc_profiles->module~korc_hpc module~korc_profiles->module~korc_hdf5 module~korc_profiles->module~korc_types module~korc_profiles->module~korc_input module~korc_profiles->module~korc_interp module~korc_profiles->module~korc_coords module~korc_random->module~korc_types module~korc_random->iso_c_binding module~korc_coords->module~korc_constants module~korc_coords->module~korc_types module~korc_fio->module~korc_hdf5 module~korc_fio->module~korc_types module~korc_fio->iso_c_binding module~korc_fio->module~korc_input module~korc_fio->mpi

Used by

  • module~~korc_velocity_distribution~~UsedByGraph module~korc_velocity_distribution korc_velocity_distribution module~korc_initialize korc_initialize module~korc_initialize->module~korc_velocity_distribution program~main main program~main->module~korc_initialize

Contents


Functions

private function fth_3V(Vth, V)

Read more…

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(in) :: Vth

Thermal velocity of the background electrons .

real(kind=rp), intent(in), DIMENSION(3):: V

Velocity of the sampled electron .

Return Value real(kind=rp)

Value of .

private function random_norm(mu, sigma)

Read more…

Arguments

Type IntentOptional AttributesName
real(kind=rp), intent(in) :: mu

Mean value of the Gaussian distribution.

real(kind=rp), intent(in) :: sigma

Standard deviation of the Gaussian distribution.

Return Value real(kind=rp)

Sampled number from the Gaussian distribution .


Subroutines

public subroutine thermal_distribution(params, spp)

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params

Core KORC simulation parameters.

type(SPECIES), intent(inout) :: spp

An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation.

public subroutine initial_energy_pitch_dist(params, spp)

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params

Core KORC simulation parameters.

type(SPECIES), intent(inout), DIMENSION(:), ALLOCATABLE:: spp

An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation.

private subroutine gyro_distribution(params, F, spp)

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params

Core KORC simulation parameters.

type(FIELDS), intent(in) :: F

An instance of the KORC derived type FIELDS. This structure has the information of the magnetic field.

type(SPECIES), intent(inout) :: spp

An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation.

public subroutine initial_gyro_distribution(params, F, spp)

Read more…

Arguments

Type IntentOptional AttributesName
type(KORC_PARAMS), intent(in) :: params

Core KORC simulation parameters.

type(FIELDS), intent(in) :: F

An instance of the KORC derived type FIELDS. This structure has the information of the magnetic field.

type(SPECIES), intent(inout), DIMENSION(:), ALLOCATABLE:: spp

An instance of the derived type SPECIES containing all the parameters and simulation variables of the different species in the simulation.