Giter Site home page Giter Site logo

jonaslindemann / modern_fortran_book Goto Github PK

View Code? Open in Web Editor NEW
43.0 2.0 11.0 3.63 MB

Modern Fortran in Science and Technology

License: GNU General Public License v3.0

CMake 7.25% Fortran 41.80% Pascal 17.39% Batchfile 0.33% C 16.06% Python 0.52% Makefile 1.08% Shell 0.03% C++ 15.53%
fortran python cmake tutorial fortran-tutorial

modern_fortran_book's Introduction

Modern Fortran in Science and Technology

Authors: Jonas Lindemann and Ola Dahlblom

This book is an introduction in programming with Fortran 95/2003/2008 in science and technology. The book also covers methods for integrating Fortran code with other programming languages both dynamic (Python) and compiled languages (C++). An introduction in using modern development enrvironments such as QtCreator/Eclipse/Photran, for debugging and development is also given.

You can find the book in a more readable form at Read The Docs at the following link:

https://modern-fortran-in-science-and-technology.readthedocs.io/en/latest/

You can also find all the examples in the book in the source directory of this repo. All examples can be built using CMake as shown below:

$ git clone https://github.com/jonaslindemann/modern_fortran_book.git
$ cd modern_fortran_book/source
$ mkdir build
$ cd build
$ cmake ..
$ make

It will require a fortran compiler installed in the search path.

modern_fortran_book's People

Contributors

jonaslindemann avatar rzehumat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

modern_fortran_book's Issues

a few bugs found

Thanks for a great resource!

After a cursory reading of some chapters, I've found following "bugs":

  1. "The Fortran Language" chapter, "program case_sample", case (:0) should result in write(,) 'Less than one.' (instead of "Greater")
  2. "Fortran and Python" - there are several places where one reads "-function", "-variables", "-file" or "-attributes" with apparently lacking a term immediately preceding the "-". I guess it should be "C-xxxx" but probably it requires a verification
  3. There are places where "raw syntax" can be seen, like ftype{integer} or "10:math:^{-300}" but that might be just deficiency of the browser (checked in Firefox and Chrome on Linux)

regards, Michal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.