Newer
Older
Dave Whipp
committed
enddo
write(threadinfo%Logunit,'(a32,i4)') 'niter_move ',params%niter_move
write(threadinfo%Logunit,'(a)') '--- REFINEMENT IN BOXES ---'
Dave Whipp
committed
if (params%nboxes.gt.0) then
do i=1,params%nboxes
write(threadinfo%Logunit,'(a,i3,a)') '--- Input values for box ',i,' ---'
Dave Whipp
committed
write(threadinfo%Logunit,'(a32,e11.4)') 'box x0 ',boxes(i)%x0
write(threadinfo%Logunit,'(a32,e11.4)') 'box x1 ',boxes(i)%x1
write(threadinfo%Logunit,'(a32,e11.4)') 'box y0 ',boxes(i)%y0
write(threadinfo%Logunit,'(a32,e11.4)') 'box y1 ',boxes(i)%y1
write(threadinfo%Logunit,'(a32,e11.4)') 'box z0 ',boxes(i)%z0
write(threadinfo%Logunit,'(a32,e11.4)') 'box z1 ',boxes(i)%z1
write(threadinfo%Logunit,'(a32,i4)') 'box level ',boxes(i)%level
enddo
endif
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
write(threadinfo%Logunit,'(a)') '--- REFINEMENT ON CUBE FACES ---'
write(threadinfo%Logunit,'(a32,l1)') 'ref_on_faces ',params%ref_on_faces
if (params%ref_on_faces) then
do i=1,6
write(threadinfo%Logunit,'(a,i1,a)') '--- Refinement values for face ',i,' ---'
write(threadinfo%Logunit,'(a32,i4)') 'cube_faces level ',cube_faces(i)%level
write(threadinfo%Logunit,'(a32,e11.4)') 'cube_faces b ',cube_faces(i)%b
write(threadinfo%Logunit,'(a32,e11.4)') 'cube_faces t ',cube_faces(i)%t
write(threadinfo%Logunit,'(a32,e11.4)') 'cube_faces l ',cube_faces(i)%l
write(threadinfo%Logunit,'(a32,e11.4)') 'cube_faces r ',cube_faces(i)%r
enddo
endif
write(threadinfo%Logunit,'(a)') '--- EROSION ---'
write(threadinfo%Logunit,'(a32,l1)') 'erosion ',params%erosion
write(threadinfo%Logunit,'(a32,e11.4)') 'zerosion ',params%zerosion
write(threadinfo%Logunit,'(a32,e11.4)') 'length_scale ',params%length_scale
write(threadinfo%Logunit,'(a32,e11.4)') 'velocity_scale ',params%velocity_scale
write(threadinfo%Logunit,'(a32,e11.4)') 'fluvial_erosion ',params%fluvial_erosion
write(threadinfo%Logunit,'(a32,e11.4)') 'diffusion_erosion ',params%diffusion_erosion
write(threadinfo%Logunit,'(a32,i4)') 'baselevelx0 ',params%baselevelx0
write(threadinfo%Logunit,'(a32,i4)') 'baselevelx1 ',params%baselevelx1
write(threadinfo%Logunit,'(a32,i4)') 'baselevely0 ',params%baselevely0
write(threadinfo%Logunit,'(a32,i4)') 'baselevely1 ',params%baselevely1
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
write(threadinfo%Logunit,'(a)') '--- SEDIMENTATION ---'
write(threadinfo%Logunit,'(a32,l1)') 'sedimentation ',params%sedimentation
write(threadinfo%Logunit,'(a32,i4)') 'sedimentation_type ',params%sedimentation_type
write(threadinfo%Logunit,'(a32,e11.4)') 'er_start ',params%er_start
write(threadinfo%Logunit,'(a32,e11.4)') 'er_end ',params%er_end
write(threadinfo%Logunit,'(a32,e11.4)') 'sed_start ',params%sed_start
write(threadinfo%Logunit,'(a32,e11.4)') 'sed_end ',params%sed_end
write(threadinfo%Logunit,'(a32,e11.4)') 'zaggrade_init ',params%zaggrade_init
write(threadinfo%Logunit,'(a32,e11.4)') 'x_agg_start ',params%x_agg_start
write(threadinfo%Logunit,'(a32,e11.4)') 'x_agg_end ',params%x_agg_end
write(threadinfo%Logunit,'(a32,e11.4)') 'y_agg_start ',params%y_agg_start
write(threadinfo%Logunit,'(a32,e11.4)') 'y_agg_end ',params%y_agg_end
write(threadinfo%Logunit,'(a32,e11.4)') 'x_agg_sinus_amp ',params%x_agg_sinus_amp
write(threadinfo%Logunit,'(a32,e11.4)') 'x_agg_sinus_wavelth ',params%x_agg_sinus_wavelth
write(threadinfo%Logunit,'(a32,e11.4)') 'y_agg_sinus_amp ',params%y_agg_sinus_amp
write(threadinfo%Logunit,'(a32,e11.4)') 'y_agg_sinus_wavelth ',params%y_agg_sinus_wavelth
write(threadinfo%Logunit,'(a32,e11.4)') 'aggrade_rate ',params%aggrade_rate
write(threadinfo%Logunit,'(a32,e11.4)') 'z_prog_init ',params%z_prog_init
write(threadinfo%Logunit,'(a32,e11.4)') 'z_prog_fin ',params%z_prog_fin
write(threadinfo%Logunit,'(a32,e11.4)') 'x_prog_start ',params%x_prog_start
write(threadinfo%Logunit,'(a32,e11.4)') 'x_prog_end ',params%x_prog_end
write(threadinfo%Logunit,'(a32,e11.4)') 'x_prog_length ',params%x_prog_length
write(threadinfo%Logunit,'(a32,e11.4)') 'prog_rate_u ',params%prog_rate_u
write(threadinfo%Logunit,'(a)') '--- MATRIX VISUALISATION ---'
write(threadinfo%Logunit,'(a32,l1)') 'visualise_matrix ',params%visualise_matrix
write(threadinfo%Logunit,'(a)') '--- CROSS SECTIONS ---'
Dave Whipp
committed
if (params%nsections.gt.0) then
do i=1,params%nsections
write(threadinfo%Logunit,'(a,i3,a)') '--- Input values for section ',i,' ---'
Dave Whipp
committed
write(threadinfo%Logunit,'(a32,i4)') 'section xyz ',sections(i)%xyz
write(threadinfo%Logunit,'(a32,e11.4)') 'section slice ',sections(i)%slice
write(threadinfo%Logunit,'(a32,l1)') 'section flag press ',sections(i)%flag_press
write(threadinfo%Logunit,'(a32,l1)') 'section flag spress ',sections(i)%flag_spress
write(threadinfo%Logunit,'(a32,l1)') 'section flag e2d ',sections(i)%flag_e2d
write(threadinfo%Logunit,'(a32,l1)') 'section flag e3d ',sections(i)%flag_e3d
write(threadinfo%Logunit,'(a32,l1)') 'section flag strain ',sections(i)%flag_strain
write(threadinfo%Logunit,'(a32,l1)') 'section flag lode ',sections(i)%flag_lode
Dave Whipp
committed
write(threadinfo%Logunit,'(a32,l1)') 'section flag crit ',sections(i)%flag_crit
write(threadinfo%Logunit,'(a32,l1)') 'section flag grid ',sections(i)%flag_grid
write(threadinfo%Logunit,'(a32,l1)') 'section flag mu ',sections(i)%flag_mu
Dave Whipp
committed
write(threadinfo%Logunit,'(a32,l1)') 'section flag u ',sections(i)%flag_u
write(threadinfo%Logunit,'(a32,l1)') 'section flag v ',sections(i)%flag_v
write(threadinfo%Logunit,'(a32,l1)') 'section flag w ',sections(i)%flag_w
write(threadinfo%Logunit,'(a32,l1)') 'section flag q ',sections(i)%flag_q
Dave Whipp
committed
write(threadinfo%Logunit,'(a32,l1)') 'section flag uvw ',sections(i)%flag_uvw
write(threadinfo%Logunit,'(a32,l1)') 'section flag lsf ',sections(i)%flag_lsf
write(threadinfo%Logunit,'(a32,l1)') 'section flag vfield ',sections(i)%flag_vfield
Dave Whipp
committed
write(threadinfo%Logunit,'(a32,l1)') 'section flag colour ',sections(i)%flag_colour
write(threadinfo%Logunit,'(a32,l1)') 'section flag plastic ',sections(i)%flag_plastic
write(threadinfo%Logunit,'(a32,i3)') 'section flag temp ',sections(i)%flag_temp
write(threadinfo%Logunit,'(a32,l1)') 'section flag velvect ',sections(i)%flag_velvect
write(threadinfo%Logunit,'(a32,e11.4)') 'section scale ',sections(i)%scale
write(threadinfo%Logunit,'(a32,a3)') 'section colormap ',sections(i)%colormap
write(threadinfo%Logunit,'(a32,i4)') 'section ncolours ',sections(i)%ncolours
enddo
endif
!write(threadinfo%Logunit,'(a32,e11.4)') 'distance_exponent ',params%distance_exponent
write(threadinfo%Logunit,'(a)') '--------------------------------------------------------------------------------'
write(threadinfo%Logunit,'(a)') '--- END OF INPUT FILE ---'
write(threadinfo%Logunit,'(a)') '--------------------------------------------------------------------------------'
Dave Whipp
committed
endif
if(iproc.eq.0) call flush(8)
if(params%debug.gt.1) call flush(threadinfo%logunit)
if (iproc.eq.0) call system ('rm fort.8')
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|