IDL Wrapper Template PreviousNext
GX Simulator > User Defined Radiation Transfer Packages >

Any user defined IDL Wrapper should be prepared according the GX_Simulator calling conventions and must strictly comply with the template used to build the default radiation transfer packages.

Any IDL Wrapper must be consistent with the strict template

pro IDL_Wrapper , parms, rowdata, info=info 

However, in addition to these three mandatory arguments, the ID wrapper may accept any additional arguments and keywords needed to implement its particular functionality.

The input parms argument is expected to be a three dimensional float array used to describe the model data

The output rowdata argument is expected to return a multidimensinal float array containing the result of the computation, formatted according to the user defined desciption contained in the keyword parameter info.

When called with the info=info option set, any user-defined IDL_Wrapper routine must ingnore any other arguments and simply return the info structure describing the computation output rowdata.

The built-in  radiation transfer packages should be used by the advanced users as reference for definining their own  info structure.

 

<<Previous      Next>>
Gelu M. Nita.
http://web.njit.edu/~gnita/