norms_reset Subroutine

private subroutine norms_reset(self)

Reset the properties

Type Bound

norms_type

Arguments

Type IntentOptional Attributes Name
class(norms_type), intent(inout) :: self

Contents

Source Code


Source Code

  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