Skip to content

A toy "model" that makes uses of physics schemes from a separate repository.

License

Notifications You must be signed in to change notification settings

ldfowler58/toy_model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM Toy Model

The MMM Toy Model consists of a main program that invokes a physics driver over a small number of iterations. The physics driver makes calls to various physics schemes that come from a separate repository.

At build time, an attempt is made to obtain a specified version of phyics schemes using the src/import_physics.sh script. Switching between versions of physics or between physics repositories is accomplished by setting the variables physics_version and physics_repo near the top of the src/import_physics.sh script.

Building the MMM Toy Model

Running make with either gnu or intel specified as the target will compile the toy model with the GNU or Intel compilers, respectively. For example:

make gnu

The build process will automatically download the physics schemes, or report if the requested physics schemes cannot be obtained.

About

A toy "model" that makes uses of physics schemes from a separate repository.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 47.5%
  • Fortran 36.0%
  • Makefile 16.5%