penf_allocatable_memory-doctest-5.f90 Source File


This file depends on

sourcefile~~penf_allocatable_memory-doctest-5.f90~~EfferentGraph sourcefile~penf_allocatable_memory-doctest-5.f90 penf_allocatable_memory-doctest-5.f90 sourcefile~penf.f90 penf.F90 sourcefile~penf_allocatable_memory-doctest-5.f90->sourcefile~penf.f90 sourcefile~penf_allocatable_memory.f90 penf_allocatable_memory.F90 sourcefile~penf_allocatable_memory-doctest-5.f90->sourcefile~penf_allocatable_memory.f90 sourcefile~penf.f90->sourcefile~penf_allocatable_memory.f90 sourcefile~penf_b_size.f90 penf_b_size.F90 sourcefile~penf.f90->sourcefile~penf_b_size.f90 sourcefile~penf_global_parameters_variables.f90 penf_global_parameters_variables.F90 sourcefile~penf.f90->sourcefile~penf_global_parameters_variables.f90 sourcefile~penf_stringify.f90 penf_stringify.F90 sourcefile~penf.f90->sourcefile~penf_stringify.f90 sourcefile~penf_allocatable_memory.f90->sourcefile~penf_global_parameters_variables.f90 sourcefile~penf_allocatable_memory.f90->sourcefile~penf_stringify.f90 sourcefile~penf_b_size.f90->sourcefile~penf_global_parameters_variables.f90 sourcefile~penf_stringify.f90->sourcefile~penf_b_size.f90 sourcefile~penf_stringify.f90->sourcefile~penf_global_parameters_variables.f90

Source Code

program volatile_doctest
use penf_allocatable_memory
 use penf
 real(R16P), allocatable :: a(:,:,:,:,:)
 integer(I4P)            :: ulb(2,5)=reshape([1,1, &
                                              1,2, &
                                              1,3, &
                                              1,4, &
                                              1,5],&
                                             [2,5])
 call allocate_variable(a, ulb)
 print*, allocated(a)
endprogram volatile_doctest