| 查看: 388 | 回复: 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年博士招生+机器学习驱动材料设计
已经有1人回复
日内瓦国际发明展申报完整流程(科研人员通用指南)
已经有11人回复
物理学I论文润色/翻译怎么收费?
已经有225人回复
3月 中国石油和化学工业联合会科学技术奖 马上开始,申获奖要点
已经有15人回复
中国石油和化学工业联合会科学技术奖的评审标准是什么?
已经有5人回复
经费如何使用,花不完怎么办?
已经有5人回复
兼职
已经有12人回复
海外Gustau Catalan课题组情况了解
已经有1人回复
中国机械工业科学技术奖含金量,好获奖吗?
已经有1人回复
日内瓦国际发明展没有转化,只有论文能报吗?必须线下参加吗?
已经有0人回复
想投稿的来!
已经有0人回复










回复此楼