SUBROUTINE push(value)
! places value at start of linked list
INTEGER,INTENT(in):: value
INTEGER::istat
TYPE(integer_value),POINTER::current
! make current point to head
current=>head
! allocate memory for new head
ALLOCATE(head,stat=istat)
IF (istat/=0) &
&STOP”error allocating in push”
! connect head to current and store value
head%next=>current
head%value=value
WRITE(*,*) ‘added value ‘,value,’ to list’
END SUBROUTINE push
College of Management and Technology
Fortran Programming Courses
• IntroductiontoProgramminginFortran95• AdvancedProgramminginFortran95• Fortran95forFortran77Programmers• Fortran2003forFortran95Programmers
The Fortran programming languageiswidelyusedforscientificandengineeringproblems.ThewidelyimplementedFortran95standardhas:efficientlyexecutingcontrolstructures;highlevelarraymanipulationconstructs;supportforselectionofnumericalprecision;sophisticatedsubprogramargumenthandling;andmodulesallowingcleanerandnearobject-orientedprogrammingconceptssuchasencapsulationtobeused.Fortran2003features,amongstotherthings,objectorientedprogrammingandinteroperabilitywiththeClanguage.
Who Should AttendThesecoursesaresuitableforpracticingscientistsandengineerswhoneedtoprogram in Fortran on a regular basis. The differentcoursesallowfordifferinglevelsofexperienceinFortran.
Course StructureThecoursesconsistofshortlecturesoutlininglanguagefeaturesinterspersedwithcarefullydesigned,hands-on,practicalsessionstogiveparticipantsexperienceofthesyntaxandbest-useoftheFortranlanguage.Eachcoursemakesuseofatextbook,acopyofwhichisgiventoeachparticipant.Participantsalsoreceiveacoursefoldercontainingpapercopiesofallslidesandpracticalmaterial.AllpracticalsessionsaredeliveredviatheinternetallowingparticipantstoeasilydownloadandmodifysampleFortranfilesboththroughoutthecourseandforaperiodafterwards.
Course LocationCoursesareusuallydeliveredattheDefenceAcademyoftheUnitedKingdom,Shrivenham,nearSwindonbutmayberunbyspecialarrangementatothertimesorevenatan organisation’s site.
Fortran 95 – Introduction to Programming in Fortran 95 (3 days)ThiscourseintroducesthemostwidelyusedfeaturesoftheFortran95programminglanguage.Itistargetedatscientistsandengineers,withlittleornopreviousprogrammingexperience,whoneedto:designandwritesimpleFortranprograms;orunderstandandmodifymorecomplexFortranprogramswrittenbyothers.CoursecontentisbasedonStephenChapman’sbook‘Fortran95/2003forScientistsandEngineers’whichisissuedtoallparticipants.
CourseDates: 09–11Nov2009and ondemand CourseFee: £900
Fortran 95 – Advanced Programming in Fortran 95 (3 days)Thiscourseisaimedatpreviousparticipantsofourcourse‘IntroductiontoProgramminginFortran95’andintroducesadditionalfeaturesoftheFortran95programminglanguage.Thefollowingtopicsarecoveredinsomedepth:input/output;pointersanddynamicdatastructures;modules;derivedtypesandoverloading;arrays;charactermanipulation;intrinsicprocedures.Coursecontentisbasedon‘Fortran95/2003Explained’byMichaelMetcalf,JohnReidandMalcolmCohenwhichisissuedtoallparticipants.
CourseDates: 18–20Jan2010and ondemand CourseFee: £900
Introduction
Fortran Programming Courses
Course LeadersThecoursesareco-designedandledbyShaunForthandVisitingProfessorJohnReid.
Shaun ForthASeniorLecturerinScientificComputationandhasoveradecade’sexperienceofteachingFortrantoacademicandindustrialparticipants.HehasabackgroundincomputationalfluiddynamicsandhasperformedFortran-relatedconsultancyfortheaerospaceindustry.
John ReidConveneroftheISOFortranCommitteeandhasbeencloselyinvolvedinthedesignoftheFortranlanguagesincethe1980s.Johnisanumericalanalystinternationallyrecognisedforhisworkonalgorithmsandsoftwareforsparselinearalgebra.
ShaunandJohnareassistedbycolleaguesonseveralofthecourses.
Fortran 95 – Fortran 95 for Fortran 77 Programmers (3 days)ThiscourseisaimedatproficientFortran77programmersandthoseproficientinotherhighlevellanguagessuchasC,C++andJava.ItintroducesnearlyalloftheimportantfeaturesofFortran95including:freeformatsourcecode,controlconstructs,arrays,kindnumbers,derivedtypes,modules,pointers,operatoroverloading.Coursecontentisbasedon‘Fortran95/2003Explained’byMichaelMetcalf,JohnReidandMalcolmCohenwhichisissuedtoallparticipants.
CourseDates: Ondemand,runat requester’s site CourseFee: £900atDA-CMT Shrivenham
Fortran 95 – Fortran 2003 for Fortran 95 Programmers (2 days)ThiscourseisaimedatproficientFortran95programmersandthoseproficientinotherhighlevellanguagessuchasC,C++andJava.ItintroducesthemajornewfeaturesoftheFortran2003standardincluding:exceptionhandling,Cinteroperability,typeparameters,procedurepointers,object-orientedprogramming.Coursecontentisbasedon‘Fortran95/2003’ExplainedbyMichaelMetcalf,JohnReidandMalcolmCohenwhichisissuedtoallparticipants.
CourseDates: 26–27April2010 CourseFee: £600
Speakers
Fortran Programming Courses