| 查看: 327 | 回复: 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 ] |
» 猜你喜欢
中国科学院东莞材料科学与技术研究所-2026年博士招生-吴昊研究员-磁学与自旋电子学
已经有0人回复
《电磁学》教材推荐
已经有1人回复
物理学I论文润色/翻译怎么收费?
已经有177人回复
【急招】合肥工大核聚变材料计算方向2026级工程博士生
已经有4人回复
大豆异黄酮分离
已经有0人回复
湖南大学材料学院急招2026年博士生,临时增加一名博士联培指标
已经有10人回复
天津理工大学晶体材料全国重点实验室刘红军教授课题组招收博士生1-2名
已经有1人回复
中国科学院物理研究所谌志国研究员团队招收2027年博士研究生
已经有1人回复
2026年中德博士后交流项目 - 新型量子和磁性材料:材料制备表征和中子散射研究
已经有12人回复
宁波晶珩科技有限公司-凝聚态单晶定制与销售
已经有0人回复












回复此楼
5