get_fixed_vector_from_lala_character Subroutine

public subroutine get_fixed_vector_from_lala_character(varname, out, ierr, fixed)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: varname
character(len=*), intent(out) :: out(:)
integer, intent(out) :: ierr
logical, intent(in) :: fixed

Contents


Variables

Type Visibility Attributes Name Initial
doubleprecision, public, allocatable :: double(:,:)
integer, public :: i
integer, public :: j

Source Code

subroutine get_fixed_vector_from_lala_character(varname,out,ierr,fixed)
character(len=*),intent(in)              :: varname
character(len=*),intent(out) :: out(:)
doubleprecision,allocatable              :: double(:,:)
integer,intent(out)                      :: ierr
integer                                  :: i,j
logical,intent(in)                         :: fixed
   call get_double_from_lala(varname,double,type=0,ierr=ierr)
   if(ierr.ne.0)return
   do i=1,size(double,dim=1)
      do j=1,size(double,dim=2)
         out(i)(j:j)=achar(nint(double(i,j)))
      enddo
   enddo
end subroutine get_fixed_vector_from_lala_character