ndarray_eprint Subroutine

public subroutine ndarray_eprint(this, flags)

Subroutine to print the array to the screen (mainly for debugging purposes)

Arguments

Type IntentOptional AttributesName
class(ndarray), intent(inout) :: this
integer, intent(in), optional :: flags

Contents

Source Code


Source Code

  subroutine ndarray_eprint(this,flags)
    class(ndarray), intent(inout) :: this
    integer,           intent(in   ), optional :: flags
    !  Just print the first few values
    print *, this%flatarray(1:10)
  end subroutine ndarray_eprint