Giter VIP home page Giter VIP logo

aerosol_dynamic_models's Introduction

This code is for aerosol dynamics simulation.

The models used in this code include-discrete, discrete-sectional, moment and modal models

This code is developed in Aerosol and Air Quality Research Laboratory at Washington University in St. Louis

aerosol_dynamic_models's People

Contributors

chengzhanghuang87 avatar aaqrl avatar

Stargazers

 avatar matthewfivenine avatar  avatar Joseph Ko avatar TC avatar  avatar

Watchers

 avatar

aerosol_dynamic_models's Issues

Makefiles

it is a bit tricky to compile this code because of the module dependencies. The following attachment has suitable Makefiles for gfortran. It should be fairly simple to adapt it for other compilers.
Makefiles.tar.gz

Peter

Modal model crashes because of EOF in results_raw.dat

In the main program, results_raw.dat is written using logical unit 6 (stdout). It is than read using logical unit 15. You may get away with this, but it is strictly incorrect to have the same file open in two logical units. However, it fails in practice because stdout is still open, and if it is block buffered, the data hasn't been written to the file when calc() runs. (This must have worked at some point; the Fortran implementation must have used line buffering for stdout even after the unit was reopened onto a file.)

The attached patch changes the logical unit from 6 to 8, and closes it (which flushes the contents) before calc() runs and opens the file.

modal_model-unit.patch.txt

Peter

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.