24小时热门版块排行榜    

查看: 313  |  回复: 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-03-21 4/200 2026-03-21 18:57 by 学员8dgXkO
[考研] 生物学一志愿985,分数349求调剂 +3 zxts12 2026-03-21 3/150 2026-03-21 16:34 by 33来了真来了
[考研] 330求调剂0854 +3 assdll 2026-03-21 3/150 2026-03-21 13:01 by 搏击518
[考研] 0856材料专硕353求调剂 +3 NIFFFfff 2026-03-20 3/150 2026-03-21 10:23 by luoyongfeng
[考研] 070300化学319求调剂 +7 锦鲤0909 2026-03-17 7/350 2026-03-21 03:46 by JourneyLucky
[考研] 307求调剂 +3 wyyyqx 2026-03-17 3/150 2026-03-21 03:20 by JourneyLucky
[考研] 332求调剂 +4 ydfyh 2026-03-17 4/200 2026-03-21 02:20 by JourneyLucky
[考研] 一志愿苏州大学材料求调剂,总分315(英一) +5 sbdksD 2026-03-19 5/250 2026-03-20 22:10 by luoyongfeng
[考研] 290求调剂 +7 ^O^乜 2026-03-19 7/350 2026-03-20 21:43 by JourneyLucky
[考研] 一志愿西南交通 专硕 材料355 本科双非 求调剂 +5 西南交通专材355 2026-03-19 5/250 2026-03-20 21:10 by JourneyLucky
[考研] 一志愿华中农业071010,总分320求调剂 +3 困困困困坤坤 2026-03-20 3/150 2026-03-20 20:38 by 学员8dgXkO
[考研] 求调剂 +3 @taotao 2026-03-20 3/150 2026-03-20 19:35 by JourneyLucky
[考研] 工科材料085601 279求调剂 +7 困于星晨 2026-03-17 9/450 2026-03-20 17:38 by 无懈可击111
[考研] 08工学调剂 +5 用户573181 2026-03-20 5/250 2026-03-20 15:47 by xia_2003
[考研] 298-一志愿中国农业大学-求调剂 +9 手机用户 2026-03-17 9/450 2026-03-20 14:24 by 无懈可击111
[考研] 材料学硕318求调剂 +5 February_Feb 2026-03-19 5/250 2026-03-19 23:51 by 23Postgrad
[考研] 材料与化工求调剂 +7 为学666 2026-03-16 7/350 2026-03-19 14:48 by 尽舜尧1
[考研] 293求调剂 +11 zjl的号 2026-03-16 16/800 2026-03-18 08:10 by zhukairuo
[考研] 考研调剂 +3 淇ya_~ 2026-03-17 5/250 2026-03-17 09:25 by Winj1e
[考研] 机械专硕325,寻找调剂院校 +3 y9999 2026-03-15 5/250 2026-03-16 19:58 by y9999
信息提示
请填处理意见