欢迎来到天天文库
浏览记录
ID:40878518
大小:517.01 KB
页数:57页
时间:2019-08-09
《An Introduction to Programming in Fortran 90 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Guide138Version2.0AnintroductiontoprogramminginFortran90ThisguideprovidesanintroductiontocomputerprogrammingintheFortran90programminglanguage.TheelementsofprogrammingareintroducedinthecontextofFortran90andaseriesofexamplesandexercisesisusedtoillustrate
2、theiruse.TheaimofthecourseistoprovidesufficientknowledgeofprogrammingandFortran90towritestraightforwardprograms.Thecourseisdesignedforthosewithlittleornopreviousprogrammingexperience,butyouwillneedtobeabletoworkinLinuxanduseaLinuxtexteditor.Documentcod
3、e:Guide138Title:AnintroductiontoprogramminginFortran90Version:2.0Date:01/10/2011Producedby:UniversityofDurhamInformationTechnologyServiceThisdocumentwasbasedonaFortran77coursewrittenintheDepartmentofPhysics,UniversityofDurham.Copyright©2012Universityof
4、DurhamInformationTechnologyServiceConventions:Inthisdocument,thefollowingconventionsareused:Aboldtypewriterfontisusedtorepresenttheactualcharactersyoutypeatthekeyboard.Aslantedtypewriterfontisusedforitemssuchasfilenameswhichyoushouldreplacewithparticul
5、arinstances.Atypewriterfontisusedforwhatyouseeonthescreen.Aboldfontisusedtoindicatenamedkeysonthekeyboard,forexample,EscandEnter,representthekeysmarkedEscandEnter,respectively.Wheretwokeysareseparatedbyaforwardslash(asinCtrl/B,forexample),pressandholdd
6、ownthefirstkey(Ctrl),tapthesecond(B),andthenreleasethefirstkey.Aboldfontisalsousedwhereatechnicaltermorcommandnameisusedinthetext.Contents1.Introduction....................................................................................................
7、..12.Programmingbasics.......................................................................................22.1ThemainpartsofaFortran90program.......................................................22.2ThelayoutofFortran90statements...................
8、..........................................33.Datatypes........................................................................................................33.1Constants.................................................................
此文档下载收益归作者所有