Skip to content

yuhangwang/PINY

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PINY

Build

Pick a suitable platform-specific subdirectory in the compile directory and use it either directly or make a copy to modify. The file make_head.mk holds all build settings. Run make and the resulting executable will be placed in bin.

Examples

There are example simulations ready to run in the examples directory.

Python tools and interface

There are some Python tools that can help with preparing and post-processing a PINY simulation. They include command line utilities as well as a Python package. To use these, set your paths by sourcing the env.sh file in the python directory. For shells other than bash, set the required environment variables "by hand". For repeated use, it is probably a good idea to place these settings in your shell's RC file.

The tools require the numpy library.

Additionally, if you want to use the optional Python interface to PINY itself, you also need to have Cython. First, in one of the compile subdirectories, do make libpiny to link a shared library. Then, do make in the python directory to build the interface.

About

PINY cleanup and new feature integration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.7%
  • Fortran 2.1%
  • Python 0.7%
  • Objective-C 0.7%
  • Makefile 0.6%
  • C++ 0.2%