IXFshift dataset 2d
Revision as of 09:20, 4 April 2008 by Dean Whittaker (talk | contribs)
This routine will shift the x array and/or y array of an IXTdataset_2d object by an amount shift_x and/or shift_y respectively to give an IXTdataset_2d object.
F90 syntax
use IXMdataset_2d type(IXTdataset_2d):: input_d2d, result_d2d real(dp)::shift_x,shift_y type(IXTstatus)::status ! the shift_x and shift_y are optional arguments, so need to be supplied with keywords call IXFshift_dataset_2d(result_d2d,input_d2d,status,shift_x=shift_x) call IXFshift_dataset_2d(result_d2d,input_d2d,status,shift_y=shift_y) ! when all optional parameters are supplied keywords are not required call IXFshift_dataset_2d(result_d2d,input_d2d,status,shift_x,shift_y)