This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Fortran Class Notes Programming Logic and Simple IF Statements - Why do we need to learn and use Fortran? Fortran is an old language but is still used heavily in the aerospace industry. Because it performs mathematical operations so quickly, it is very well suited for numerical integration and other applications that require millions of simple calculations. Fortran has its quirks, but overall, its syntax is not radically different from C, Matlab and other common languages. Because Fortran is a simple language (as opposed to object-oriented languages like C and high-level function languages like Matlab), it is sometimes faster to write a program in Fortran than in these other, more advanced languages. In other words, Fortran is definitely not a good choice to develop the next version of Windows or iTunes, but it is a great choice to develop a program for your next homework assignment, or even a suite of advanced CFD codes. - How do we use Fortran? We need an editor and a compiler. Sometimes these applications are packaged together, as with Force 2.0. You can actually write Fortran source code in any text editor, such as Notepad, but the text editor built into Force has special features that help you to use the proper formatting and syntax. Force compiles F77 code, which has been around for a while but is still quite common. Most programming features work exactly the same in F77, F90, and F95. One of the best things about Force is that its FREE! You can install it on your home computer and take your programming assignments back and forth, if you like. It is also available in the AE buildings computer labs. - What is programming used for? Computer programming is a way to perform repetitive calculations quickly and easily....
View Full Document
This note was uploaded on 11/21/2011 for the course AERO 3970 taught by Professor Doucette during the Spring '11 term at Auburn University.
- Spring '11