mieext_f.pro is an interface that uses the IDL CALL_EXTERNAL function to execute pre-compiled FORTRAN routines which perform single particle Mie scattering calculations. This procedure provides particle cross sections and the asymmetry parameter.
Calling the procedure
mieext_f is a IDL procedure and can be called using the following command (as long as the source file lies within your IDL_PATH environment variable):
mieext_f, NPts, Dx, Cm, Dqxt, Dqsc, Dg
The input parameters in the above call are:
Limitations and dependences
The mieext_f procedure expects to find an appropriate shared object file (filename.so) in the directory /home/crun/eodg/idl/mie/. If you are going to run the code from a different location, you will have to edit the mieext_f.pro accordingly.
Since this procedure calls pre-compiled FORTRAN code it is platform dependent. At present shared object files exist for the Alpha (mieext_alpha.so) and x86/Linux (mieext_x86.so) platforms.
The FORTRAN source code is also available from /home/crun/eodg/idl/mie/mieext.f. To compile this code for use with the x86/Linux platform, using the Intel FORTRAN Compiler, the command is:
To compile the code for use on the alpha platform the commands are:
Download source codeThe source code for this routine and supporting routines is part of the EODG Mie scattering distribution which may be downloaded as a gzipped tar file here.
Maintained by Greg McGarragh