Skip to content

Commit

Permalink
Add doxygen comments for count_ne_1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Lentz committed Aug 24, 2023
1 parent 303141e commit 59bf15d
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion data_override/include/data_override.inc
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,22 @@ endif
end if
end subroutine DATA_OVERRIDE_INIT_IMPL_

!> @brief Implementation of the following truth table:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! Arg 1 Arg 2 Arg 3 | Result !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! .true. .true. .true. | .true. !!
!! .true. .true. .false. | .true. !!
!! .true. .false. .true. | .true. !!
!! .true. .false. .false. | .false. !!
!! .false. .true. .true. | .true. !!
!! .false. .true. .false. | .false. !!
!! .false. .false. .true. | .false. !!
!! .false. .false. .false. | .true. !!
function count_ne_1(in_1, in_2, in_3)
logical, intent(in) :: in_1, in_2, in_3
logical, intent(in) :: in_1 !< Argument 1
logical, intent(in) :: in_2 !< Argument 2
logical, intent(in) :: in_3 !< Argument 3
logical :: count_ne_1

count_ne_1 = .not.(in_1.NEQV.in_2.NEQV.in_3) .OR. (in_1.AND.in_2.AND.in_3)
Expand Down

0 comments on commit 59bf15d

Please sign in to comment.