check_plot3d_dims Subroutine

public subroutine check_plot3d_dims(ni, nj, is_ok, message)

Validate a Plot3D header: lower bound (>= 2 nodes per axis) and upper sanity caps (per-axis and total node count). Returns is_ok=.false. with a descriptive message on violation.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ni
integer, intent(in) :: nj
logical, intent(out) :: is_ok
character(len=*), intent(out) :: message