40 class(ConvergenceSummaryType) :: this
41 integer(I4B) :: nr_models
42 integer(I4B), dimension(:), pointer :: model_bounds
43 character(len=*) :: mem_path
44
45 this%memory_path = 'TMP'//mem_path
46 this%iter_cnt = 0
47 this%model_bounds => model_bounds
48
49 call mem_allocate(this%convnmod, 'CONVNMOD', this%memory_path)
50 call mem_allocate(this%nitermax, 'NITERMAX', this%memory_path)
51 this%convnmod = nr_models
52 this%nitermax = 0
53
54 call mem_allocate(this%itinner, 0, 'ITINNER', this%memory_path)
55 call mem_allocate(this%locdv, this%convnmod, 'LOCDV', this%memory_path)
56 call mem_allocate(this%dvmax, this%convnmod, 'DVMAX', this%memory_path)
57 call mem_allocate(this%locr, this%convnmod, 'LOCDR', this%memory_path)
58 call mem_allocate(this%rmax, this%convnmod, 'DRMAX', this%memory_path)
59 call mem_allocate(this%convdvmax, this%convnmod, 0, 'CONVDVMAX', &
60 this%memory_path)
61 call mem_allocate(this%convlocdv, this%convnmod, 0, 'CONVLOCDV', &
62 this%memory_path)
63 call mem_allocate(this%convrmax, this%convnmod, 0, 'CONVDRMAX', &
64 this%memory_path)
65 call mem_allocate(this%convlocr, this%convnmod, 0, 'CONVLOCDR', &
66 this%memory_path)
67
68 call this%set_defaults()
69