five

AMR code

收藏
doi.org2025-03-27 收录
下载链接:
http://doi.org/10.17632/kp266rgzf2.1
下载链接
链接失效反馈
官方服务:
资源简介:
The present code is a small self-sufficient program for the AMR simulation presented in the paper "A multigrid AMR algorithm for the study of magnetic reconnection" It is just one long script with inclusions, starting from struct.c and ending with mhd.c or arb2plot.c, so struct.c C opert.c C derive.c C wav.c C multigrid1.c C mhd.c struct.c C opert.c C derive.c C wav.c C multigrid1.c C arb2plot.c To compile it with Linux, type "gcc -fopenmp -o mhd mhd.c -lm" in the folder where the files are "./mhd" or "./mhd >out.txt&" to execute The parameters may be changed at the beginning of the "mhd.c" program If you need any information or advice you can send a message to: erwan.deriaz@univ-lorraine.fr

当前代码是一个小型自给自足程序,用于实现论文《用于研究磁重连的多重网格AMR算法》中提出的AMR模拟。该程序由一个长脚本组成,包含从struct.c到mhd.c或arb2plot.c的多个文件,具体顺序如下: struct.c -> opert.c -> derive.c -> wav.c -> multigrid1.c -> mhd.c 若要在Linux环境下编译,请在文件所在的目录中执行命令: "gcc -fopenmp -o mhd mhd.c -lm" 编译完成后,可通过以下命令执行: "./mhd" 或 "./mhd >out.txt" 可在mhd.c程序的开头修改相关参数。 如需获取信息或咨询,请联系:erwan.deriaz@univ-lorraine.fr
提供机构:
doi.org
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作