Subroutine to print the array to the screen (mainly for debugging purposes)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ndarray_oc), | intent(inout) | :: | this | |||
integer, | intent(in), | optional | :: | flags |
subroutine ndarray_oc_eprint(this,flags)
class(ndarray_oc), intent(inout) :: this
integer, intent(in ), optional :: flags
! Just print the first few values
print *, this%yflatarray(1:10)
print *, this%pflatarray(1:10)
end subroutine ndarray_oc_eprint