1 / 4

Multi to IDL

Multi to IDL. NLTE seminar 2/20 Naoki Nakamura. Difference between IDL and f77. What we should change to convert f77 code to IDL code. Array operation IDL could operate array without “for (do) loop”. Variable declaration IDL could declare variable anywhere in programs.

orrick
Download Presentation

Multi to IDL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Multi to IDL NLTE seminar 2/20 Naoki Nakamura

  2. Difference between IDL and f77 What we should change to convert f77 code to IDL code. • Array operation • IDL could operate array without “for (do) loop”. • Variable declaration • IDL could declare variable anywhere in programs. • No use of shell command?

  3. COMMON BLOCK(tentative) com_multi.pro • infiles: input file names • cinput: read parameter from “input.○○” • parameter: parameters(grid number etc.) • catmos: input atmospheric parameter • catom: input atom parameter • copac: opacity etc. • Id: ids and types

  4. IDL procedure Main.pro(Main program) start.pro (Initial setting) rinput.pro (read option flag) atomos.pro (read atmosphere) cstrip.pro(trim comments from input files) com_multi.pro(common blocks)

More Related