33
35
36 type(GwfIcType), pointer :: ic
37 character(len=*), intent(in) :: name_model
38 character(len=*), intent(in) :: input_mempath
39 integer(I4B), intent(in) :: inunit
40 integer(I4B), intent(in) :: iout
41 class(DisBaseType), pointer, intent(in) :: dis
42
43 character(len=*), parameter :: fmtic = &
44 "(1x, /1x, 'IC -- Initial Conditions Package, Version 8, 3/28/2015', &
45 &' input read from mempath: ', A, //)"
46
47
48 allocate (ic)
49
50
51 call ic%set_names(1, name_model, 'IC', 'IC', input_mempath)
52
53
54 call ic%allocate_scalars()
55
56
57 ic%inunit = inunit
58 ic%iout = iout
59
60
61 ic%dis => dis
62
63
64 if (inunit > 0) then
65
66 write (ic%iout, fmtic) input_mempath
67 end if