Reset the properties
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(norms_type), | intent(inout) | :: | self |
subroutine norms_reset(self)
implicit none
class(norms_type), intent(in out) :: self
integer :: i
!Loop over parameters and set them to def_val
do i=1,len(self%names)
call self%set_value(self%names(i),self%def_val)
enddo
!Set the logical vars
self%initialised=.false.
call self%set_logicals
end subroutine norms_reset