sample_photo_species_state Interface

interface
public module subroutine sample_photo_species_state(sim, spec, mesh, n_rays, x, v, w, n_emit, emit_elem_idx, global_rays_per_batch, emit_current_density_override, normal_drift_speed_override, vmin_normal, collision_failure_status, collision_failure_ray, collision_failure_bounce)

Arguments

Type IntentOptional Attributes Name
type(sim_config), intent(in) :: sim
type(particle_species_spec), intent(in) :: spec
type(mesh_type), intent(in) :: mesh
integer(kind=i32), intent(in) :: n_rays
real(kind=dp), intent(out) :: x(:,:)
real(kind=dp), intent(out) :: v(:,:)
real(kind=dp), intent(out) :: w(:)
integer(kind=i32), intent(out) :: n_emit
integer(kind=i32), intent(out), optional :: emit_elem_idx(:)
integer(kind=i32), intent(in), optional :: global_rays_per_batch
real(kind=dp), intent(in), optional :: emit_current_density_override
real(kind=dp), intent(in), optional :: normal_drift_speed_override
real(kind=dp), intent(in), optional :: vmin_normal
integer(kind=i32), intent(out), optional :: collision_failure_status
integer(kind=i32), intent(out), optional :: collision_failure_ray
integer(kind=i32), intent(out), optional :: collision_failure_bounce