Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(type_materials_wrf), | intent(in) | :: | input |
module function construct_type_wrf_vg(input) result(property) implicit none type(type_materials_wrf), intent(in) :: input class(abst_wrf), allocatable :: property if (allocated(property)) deallocate (property) allocate (type_wrf_vg :: property) select type (this => property) type is (type_wrf_vg) this%theta_r = input%theta_r this%theta_s = input%theta_s this%alpha1 = input%alpha1 this%n1 = input%n1 this%m1 = 1.0d0 - 1.0d0 / input%n1 end select end function construct_type_wrf_vg