Copy GT_HISTORY_AXIS . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | historyaxiscopy1 (axis_dest, axis_src, err, name, length, longname, units, xtype) |
| subroutine | historyaxiscopy2 (axis_dest, axis_src, err, name, length, longname, units, xtype) |
Copy GT_HISTORY_AXIS
.
Definition in file historyaxiscopy.f90.
| subroutine historyaxiscopy1 | ( | type(gt_history_axis), intent(out) | axis_dest, |
| type(gt_history_axis), intent(in) | axis_src, | ||
| logical, intent(out), optional | err, | ||
| character(*), intent(in), optional | name, | ||
| integer, intent(in), optional | length, | ||
| character(*), intent(in), optional | longname, | ||
| character(*), intent(in), optional | units, | ||
| character(*), intent(in), optional | xtype | ||
| ) |
Copy a GT_HISTORY_AXIS variable
Copies the GT_HISTORY_AXIS variable axis_src to axis_dest. axis_src must be initialized by HistoryAxisCreate. To add attributes, use HistoryAxisAddAttr.
If err is given, the program does not abort on error; instead, err returns .true.
Arguments after err are values to override during copy.
| [out] | axis_dest | Destination GT_HISTORY_AXIS |
| [in] | axis_src | Source GT_HISTORY_AXIS |
| [out] | err | Error flag (optional) |
| [in] | name | Dimension variable name (optional, override) |
| [in] | length | Dimension length (optional, override) |
| [in] | longname | Descriptive name (optional, override) |
| [in] | units | Units (optional, override) |
| [in] | xtype | Type (optional, override) |
Definition at line 62 of file historyaxiscopy.f90.
References dc_trace::beginsub(), and dc_trace::endsub().
| subroutine historyaxiscopy2 | ( | type(gt_history_axis), intent(out) | axis_dest, |
| type(gt_history_axis), intent(in) | axis_src, | ||
| logical, intent(out), optional | err, | ||
| character(*), intent(in), optional | name, | ||
| integer, intent(in), optional | length, | ||
| character(*), intent(in), optional | longname, | ||
| character(*), intent(in), optional | units, | ||
| character(*), intent(in), optional | xtype | ||
| ) |
Copy a GT_HISTORY_AXIS variable (generic interface)
Usage is same as HistoryAxisCopy.
Definition at line 108 of file historyaxiscopy.f90.
References dc_trace::beginsub(), and dc_trace::endsub().