axis_t

type  axis_t

The axis_t type represents a grid axis.

subroutine  get_n(n)

Get the number of points making up the axis.

Parameters

rank [integer ,out] :: Returned number of points.

subroutine  get_x_min(x_min)

Get the minimum value of the axis.

Parameters

x_min [real(RD),out] :: Returned minimum value.

subroutine  get_x_max(x_max)

Get the maximum value of the axis.

Parameters

x_max [real(RD),out] :: Returned maximum value.

subroutine  get_label(label)

Get the axis label

Parameters

character (*) :: Returned label.

subroutine  fetch(i, x, stat)

Fetch an axis value

Parameters
  • i [integer ,in] :: Index of value (from 1 to n).

  • x [real(RD),out] :: Returned value.

Options

stat [integer ,out] :: Status code.

subroutine  locate(x, i)

Locate where along the axis a value falls.

Parameters
  • x [real(RD),out] :: Value to locate.

  • i [integer ,out] :: Location index.