pencil-code

A high-order finite-difference code for compressible hydrodynamic flows with magnetic fields and particles

  • 所有者: pencil-code/pencil-code
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

The Pencil Code

The Pencil Code moved to
GitHub
on 19 April 2015. It was previously hosted at
Google Code.

In order to checkout the code with
Subversion, use the command

svn checkout https://github.com/pencil-code/pencil-code/trunk pencil-code --username <github-username>

where <github-username> is your GitHub username.

To get started, run one of the samples:

unix>  cd pencil-code
unix>  source sourceme.csh  [or . sourceme.sh]
unix>  cd samples/conv-slab
unix>  mkdir data

To set up the symbolic links and compile the code:

unix>  pc_setupsrc
unix>  pc_build  [ -f /path/to/config/file.conf ]

To create the initial condition and run the code:

unix>  pc_start  [ -f /path/to/config/file.conf ]
unix>  pc_run    [ -f /path/to/config/file.conf ]

See pencil-code/config/hosts/*/*.conf for sample config files. For more
details, see the manual in the doc/ directory (also available
here).


If you are using bash and you do not want to "source sourceme.sh" on each
session, you can insert the following into your .bashrc and/or .bash_profile:

export PENCIL_HOME=$HOME/pencil-code  [or wherever you have the code]
_sourceme_quiet=1; . $PENCIL_HOME/sourceme.sh; unset _sourceme_quiet

If you are using csh insert the following into your .cshrc:

setenv PENCIL_HOME $HOME/pencil-code  [or wherever you have the code]
source $PENCIL_HOME/sourceme.csh

主要指標

概覽
名稱與所有者pencil-code/pencil-code
主編程語言Fortran
編程語言Perl (語言數: 20)
平台
許可證
所有者活动
創建於2015-04-19 07:26:57
推送於2025-06-02 08:12:20
最后一次提交2025-06-02 08:12:12
發布數5
最新版本名稱v2021.02.20 (發布於 )
第一版名稱r23175 (發布於 )
用户参与
星數208
關注者數93
派生數102
提交數40k
已啟用問題?
問題數35
打開的問題數3
拉請求數6
打開的拉請求數0
關閉的拉請求數8
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?