24小时热门版块排行榜    

Znn3bq.jpeg
查看: 327  |  回复: 1
【奖励】 本帖被评价1次,作者liverangel增加金币 0.5
当前主题已经存档。

liverangel

木虫 (著名写手)


[资源] 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 ]
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 liverangel 的主题更新
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 云南大学材料与能源学院解琳课题组钙钛矿博士招生 +4 光伏爱好者 2026-05-17 6/300 2026-05-21 01:37 by 17520222914
[有机交流] 反应很差,大量原料没有反应 5+3 Mr.Zot 2026-05-19 8/400 2026-05-20 22:19 by Equinoxhua
[基金申请] 评审有感 +14 popular289 2026-05-18 23/1150 2026-05-20 17:39 by lincyb
[基金申请] 提交了我也来说说感想 +6 fummck 2026-05-20 6/300 2026-05-20 17:29 by 姜太公烤鱼
[基金申请] 今年审到国自然15份,谈谈感受 +19 国自然国社科中 2026-05-17 20/1000 2026-05-20 14:14 by 仲夏夜的星星
[考博] 如果工作了想读博,可以边工作边读全日制嘛? 30+3 铁达火车 2026-05-18 5/250 2026-05-20 09:33 by tfang
[有机交流] 如何实现卤原子转化 +3 BT20230424 2026-05-15 8/400 2026-05-20 09:32 by xtlilibin
[基金申请] 河北省自然科学基金 +3 Peterchao 2026-05-18 3/150 2026-05-20 08:57 by 霸_霸
[教师之家] 上海大学实验技术岗位非升即走 +12 嘻嘻哈哈乐呵呵 2026-05-15 13/650 2026-05-20 08:34 by xli1984
[文学芳草园] 献血感触 +6 呀呀好傻 2026-05-19 11/550 2026-05-19 22:26 by 而立得乐
[基金申请] 2026山东省优青 +3 luckinging 2026-05-14 4/200 2026-05-19 16:15 by 52wls
[考博] 找博士生导师 +6 小代想上岸 2026-05-15 7/350 2026-05-19 10:22 by free_fisher
[考博] 26/27申博自荐-锂/钠电池方向 5+3 狗头军师. 2026-05-15 4/200 2026-05-19 09:10 by moonboat
[基金申请] 同样的基金本子,换个专家直接从C变A! (金币-10) +3 国自然国社科中 2026-05-19 3/150 2026-05-19 08:50 by Equinoxhua
[基金申请] 别被青基扩招骗了!26年科研内卷才刚刚开始 +3 国自然国社科中 2026-05-14 4/200 2026-05-19 08:48 by archvillain
[考博] 博士申请 +5 星…… 2026-05-18 6/300 2026-05-18 23:49 by 糊糊涂涂好
[基金申请] 国自然上会要求 +5 无名者登山 2026-05-18 9/450 2026-05-18 17:50 by BlakeReary
[文学芳草园] 半夜喝咖啡 +3 myrtle 2026-05-15 5/250 2026-05-18 01:03 by 小沈2018
[考博] 光量子物理方向 博士招生 1人(2026.09) +3 sandyworld 2026-05-15 4/200 2026-05-17 14:38 by sandyworld
[有机交流] 求助2,4-二氯-5-嘧啶甲醛的合成方法 20+3 光吃不拉 2026-05-14 6/300 2026-05-16 19:46 by Equinoxhua
信息提示
请填处理意见