pic_in.f90 Source File


This file depends on

sourcefile~~pic_in.f90~~EfferentGraph sourcefile~pic_in.f90 pic_in.f90 sourcefile~init_laser_field.f90 init_laser_field.f90 sourcefile~pic_in.f90->sourcefile~init_laser_field.f90 sourcefile~init_part_distrib.f90 init_part_distrib.f90 sourcefile~pic_in.f90->sourcefile~init_part_distrib.f90 sourcefile~grid_fields.f90 grid_fields.f90 sourcefile~init_laser_field.f90->sourcefile~grid_fields.f90 sourcefile~fstruct_data.f90 fstruct_data.f90 sourcefile~init_laser_field.f90->sourcefile~fstruct_data.f90 sourcefile~pstruct_data.f90 pstruct_data.f90 sourcefile~init_laser_field.f90->sourcefile~pstruct_data.f90 sourcefile~init_grid_fields.f90 init_grid_fields.f90 sourcefile~init_laser_field.f90->sourcefile~init_grid_fields.f90 sourcefile~grid_param.f90 grid_param.f90 sourcefile~init_part_distrib.f90->sourcefile~grid_param.f90 sourcefile~array_alloc.f90 array_alloc.f90 sourcefile~init_part_distrib.f90->sourcefile~array_alloc.f90 sourcefile~phys_param.f90 phys_param.f90 sourcefile~init_part_distrib.f90->sourcefile~phys_param.f90 sourcefile~common_param.f90 common_param.f90 sourcefile~init_part_distrib.f90->sourcefile~common_param.f90 sourcefile~code_util.f90 code_util.f90 sourcefile~init_part_distrib.f90->sourcefile~code_util.f90 sourcefile~util.f90 util.f90 sourcefile~init_part_distrib.f90->sourcefile~util.f90 sourcefile~mpi_var.f90 mpi_var.f90 sourcefile~init_part_distrib.f90->sourcefile~mpi_var.f90 sourcefile~grid_field_param.f90 grid_field_param.f90 sourcefile~grid_fields.f90->sourcefile~grid_field_param.f90 sourcefile~parallel.f90 parallel.F90 sourcefile~grid_fields.f90->sourcefile~parallel.f90 sourcefile~precision_def.f90 precision_def.F90 sourcefile~grid_param.f90->sourcefile~precision_def.f90 sourcefile~struct_def.f90 struct_def.f90 sourcefile~grid_param.f90->sourcefile~struct_def.f90 sourcefile~array_alloc.f90->sourcefile~fstruct_data.f90 sourcefile~array_alloc.f90->sourcefile~pstruct_data.f90 sourcefile~phys_param.f90->sourcefile~precision_def.f90 sourcefile~common_param.f90->sourcefile~precision_def.f90 sourcefile~fstruct_data.f90->sourcefile~precision_def.f90 sourcefile~pstruct_data.f90->sourcefile~precision_def.f90 sourcefile~pstruct_data.f90->sourcefile~struct_def.f90 sourcefile~code_util.f90->sourcefile~precision_def.f90 sourcefile~init_grid_fields.f90->sourcefile~phys_param.f90 sourcefile~init_grid_fields.f90->sourcefile~fstruct_data.f90 sourcefile~init_grid_fields.f90->sourcefile~pstruct_data.f90 sourcefile~init_grid_fields.f90->sourcefile~grid_field_param.f90 sourcefile~util.f90->sourcefile~code_util.f90 sourcefile~util.f90->sourcefile~precision_def.f90 sourcefile~mpi_var.f90->sourcefile~precision_def.f90 sourcefile~grid_field_param.f90->sourcefile~grid_param.f90 sourcefile~grid_field_param.f90->sourcefile~common_param.f90 sourcefile~grid_field_param.f90->sourcefile~mpi_var.f90 sourcefile~struct_def.f90->sourcefile~precision_def.f90 sourcefile~parallel.f90->sourcefile~common_param.f90 sourcefile~parallel.f90->sourcefile~util.f90 sourcefile~parallel.f90->sourcefile~mpi_var.f90

Files dependent on this one

sourcefile~~pic_in.f90~~AfferentGraph sourcefile~pic_in.f90 pic_in.f90 sourcefile~start_all.f90 start_all.F90 sourcefile~start_all.f90->sourcefile~pic_in.f90 sourcefile~aladyn.f90 ALaDyn.F90 sourcefile~aladyn.f90->sourcefile~start_all.f90

Contents

Source Code


Source Code

!*****************************************************************************************************!
!                            Copyright 2008-2020  The ALaDyn Collaboration                            !
!*****************************************************************************************************!

!*****************************************************************************************************!
!  This file is part of ALaDyn.                                                                       !
!                                                                                                     !
!  ALaDyn is free software: you can redistribute it and/or modify                                     !
!  it under the terms of the GNU General Public License as published by                               !
!  the Free Software Foundation, either version 3 of the License, or                                  !
!  (at your option) any later version.                                                                !
!                                                                                                     !
!  ALaDyn is distributed in the hope that it will be useful,                                          !
!  but WITHOUT ANY WARRANTY; without even the implied warranty of                                     !
!  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                                      !
!  GNU General Public License for more details.                                                       !
!                                                                                                     !
!  You should have received a copy of the GNU General Public License                                  !
!  along with ALaDyn.  If not, see <http://www.gnu.org/licenses/>.                                    !
!*****************************************************************************************************!

 module pic_in

  use init_laser_field
  use init_part_distrib

  implicit none

  real(dp) :: xf0

 contains
  subroutine init
   !======================================
   if (model_id < 3) then
    call lp_pulse(model_id, xf0) !Linear polarization along y (1)   z(2)
   else
    select case (model_id)
    case (3)
     call cp_pulse(model_id, xf0) !Circular polarization
    case (4)
     call set_envelope(xf0) !Envelope  approximation for laser
     ! vector potential Ay
    end select
   end if
   call part_distribute(dmodel_id, xf0)

   if (hybrid) call init_fluid_density_momenta(dmodel_id, xf0)

  end subroutine

 end module