| 查看: 364 | 回复: 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 ] |
» 猜你喜欢
什么时候开奖?
已经有13人回复
散金币祈福
已经有94人回复
物理学I论文润色/翻译怎么收费?
已经有114人回复
青基已中
已经有1人回复
散金币祈福
已经有186人回复
求助,如何提取ELK的rt-TDDFT在某一时刻的自旋密度分布和电子密度分布
已经有1人回复
澳门大学IAPME李海峰教授常年招收博士研究生
已经有0人回复
澳门大学IAPME李海峰教授常年招收博士研究生
已经有0人回复
澳门大学IAPME李海峰教授常年招收博士研究生
已经有0人回复
求助中医院临床中医中标的青年标书学习,谢谢
已经有2人回复










回复此楼