Set the nrow variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(rowblock_type), | intent(inout) | :: | self |
subroutine rb_set_nrow(self)
implicit none
class(rowblock_type), intent(inout) :: self
if(self%row_ulim<=0)then
self%nrow=0
else
self%nrow=1+self%row_ulim-self%row_llim
endif
end subroutine rb_set_nrow