to_sheath_model_species Function

public function to_sheath_model_species(spec_cfg) result(spec)

Arguments

Type IntentOptional Attributes Name
type(particle_species_spec), intent(in) :: spec_cfg

Return Value type(sheath_model_species)


Calls

proc~~to_sheath_model_species~~CallsGraph proc~to_sheath_model_species to_sheath_model_species proc~species_number_density_m3 species_number_density_m3 proc~to_sheath_model_species->proc~species_number_density_m3 proc~species_temperature_k species_temperature_k proc~to_sheath_model_species->proc~species_temperature_k

Called by

proc~~to_sheath_model_species~~CalledByGraph proc~to_sheath_model_species to_sheath_model_species proc~resolve_sheath_injection_context resolve_sheath_injection_context proc~resolve_sheath_injection_context->proc~to_sheath_model_species proc~init_particle_batch_from_config init_particle_batch_from_config proc~init_particle_batch_from_config->proc~resolve_sheath_injection_context

Source Code

  type(sheath_model_species) function to_sheath_model_species(spec_cfg) result(spec)
    type(particle_species_spec), intent(in) :: spec_cfg

    spec%q_particle = spec_cfg%q_particle
    spec%m_particle = spec_cfg%m_particle
    if (spec_cfg%has_number_density_m3 .or. spec_cfg%has_number_density_cm3) then
      spec%number_density_m3 = species_number_density_m3(spec_cfg)
    end if
    spec%temperature_k = species_temperature_k(spec_cfg)
    spec%drift_velocity = spec_cfg%drift_velocity
  end function to_sheath_model_species