| 查看: 308 | 回复: 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 ] |
» 猜你喜欢
基元I理论下三大核心空间现象精准推导与细节解析
已经有0人回复
基于基元 I 统一理论的反重力理论推导
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有192人回复
基于基元I统一理论的量子力学本源推导
已经有1人回复
推荐一款可以AI辅助写作的Latex编辑器SmartLatexEditor,超级好用,AI润色,全免费
已经有20人回复
【EI|Scopus 双检索】第六届智能机器人系统国际会议(ISoIRS 2026)
已经有1人回复
2026年第四届电动车与车辆工程国际会议(CEVVE 2026)
已经有0人回复













回复此楼