| 查看: 337 | 回复: 1 | ||
| 【奖励】 本帖被评价1次,作者liverangel增加金币 0.5 个 | ||
| 当前主题已经存档。 | ||
[资源]
A practical guide to computer simulations
|
||
|
A practical guide to computer simulations (抱歉,重复了,就当提供个下载链接吧! 要是不合适,麻烦楼主帮我删了吧!) I believe it will be helpful to you! Heiko Rieger Abstract Here practical aspects of conducting research via computer simulations are discussed. The following issues are addressed: software engineering, object-oriented software development, programming style, macros, make files, scripts, libraries, random numbers, testing, debugging, data plotting, curve fitting, finite-size scaling, information retrieval, and preparing presentations. Because of the limited space, usually only short introductions to the specific areas are given and references to more extensive literature are cited. All examples of code are in C/C++. Contents 1 Software Engineering 3 2 Object-oriented Software Development 10 3 Programming Style 16 4 Programming Tools 20 4.1 Using Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.2 Make Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3 Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5 Libraries 29 5.1 Numerical Recipes . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.2 LEDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.3 Creating your own Libraries . . . . . . . . . . . . . . . . . . . . . 33 6 Random Numbers 34 6.1 Generating Random Numbers . . . . . . . . . . . . . . . . . . . . 35 6.2 Inversion Method . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.3 Rejection Method . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.4 The Gaussian Distribution . . . . . . . . . . . . . . . . . . . . . . 41 7 Tools for Testing 42 7.1 gdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 7.2 ddd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 7.3 checkergcc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 8 Evaluating Data 49 8.1 Data Plotting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 8.2 Curve Fitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 8.3 Finite-size Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . 55 9 Information Retrieval and Publishing 57 9.1 Searching for Literature . . . . . . . . . . . . . . . . . . . . . . . 58 9.2 Preparing Publications . . . . . . . . . . . . . . . . . . . . . . . . 61 http://www.divshare.com/download/3041486-6d1 [ Last edited by csfn on 2008-1-10 at 10:24 ] |
» 猜你喜欢
中国科学院物理研究所谌志国研究员团队招收2027年博士研究生
已经有6人回复
2026年中德博士后交流项目 - 新型量子和磁性材料:材料制备表征和中子散射研究
已经有12人回复
物理学I论文润色/翻译怎么收费?
已经有253人回复
26申博推荐:南京航空航天大学国际前沿院光学方向招收博士生!
已经有1人回复
如何从铁电相到顺电相。
已经有1人回复
各位大佬,求一份最新Wien2k版本作为学习用途
已经有0人回复
南科大活性流体和软物质课题组诚招2027级博士、硕士研究生和博后
已经有24人回复
瑞典林雪平大学博士后招聘|PEC Water Splitting 方向
已经有24人回复











回复此楼