ndarray_oc_eprint Subroutine

public subroutine ndarray_oc_eprint(this, flags)

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

Arguments

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

Contents

Source Code


Source Code

  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