norms_check_if_set Function

private function norms_check_if_set(self, val_name)

Decide if a given normalisation has been set

Type Bound

norms_type

Arguments

Type IntentOptional Attributes Name
class(norms_type), intent(in) :: self
character(len=*), intent(in) :: val_name

Return Value logical


Contents

Source Code


Source Code

  function norms_check_if_set(self,val_name)
    use warning_helpers, only: not_exactly_equal
    implicit none
    class(norms_type), intent(in) :: self
    character(len=*), intent(in) :: val_name
    logical :: norms_check_if_set
    norms_check_if_set = not_exactly_equal(self%get_value(val_name), self%def_val)
  end function norms_check_if_set