24小时热门版块排行榜    

查看: 314  |  回复: 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 的主题更新
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 工科0856求调剂 +5 沐析汀汀 2026-03-21 5/250 2026-03-23 17:56 by 海瑟薇-
[考研] 一志愿中国石油大学(华东) 本科齐鲁工业大学 +4 石能伟 2026-03-17 4/200 2026-03-23 17:51 by 17862566385
[考研] 一志愿211 初试270分 求调剂 +3 谷雨上岸 2026-03-23 4/200 2026-03-23 15:53 by ACS Nano——
[考研] 招08考数学 +6 laoshidan 2026-03-20 14/700 2026-03-23 14:37 by 15614359529
[考研] 一志愿西安交通大学材料工程专业 282分求调剂 +11 枫桥ZL 2026-03-18 13/650 2026-03-22 20:26 by edmund7
[考研] 315分,诚求调剂,材料与化工085600 +3 13756423260 2026-03-22 3/150 2026-03-22 20:11 by edmund7
[考研] 求调剂一志愿海大,0703化学学硕304分,有大创项目,四级已过 +6 幸运哩哩 2026-03-22 10/500 2026-03-22 20:10 by edmund7
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +3 晨昏线与星海 2026-03-20 3/150 2026-03-22 16:00 by ColorlessPI
[考研] 305分求调剂(食品工程) +4 Sxy112 2026-03-21 6/300 2026-03-22 15:26 by 无懈可击111
[考研] 一志愿北京化工大学070300 学硕336求调剂 +5 vv迷 2026-03-21 8/400 2026-03-22 14:20 by ColorlessPI
[考博] 招收博士1-2人 +3 QGZDSYS 2026-03-18 4/200 2026-03-22 10:25 by QGZDSYS
[考研] 280求调剂 +11 咕噜晓晓 2026-03-18 12/600 2026-03-21 22:40 by ACS Nano——
[考研] 【考研调剂】化学专业 281分,一志愿四川大学,诚心求调剂 +11 吃吃吃才有意义 2026-03-19 11/550 2026-03-21 18:23 by 学员8dgXkO
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +12 yangfz 2026-03-17 12/600 2026-03-21 03:30 by JourneyLucky
[考研] 321求调剂 +9 何润采123 2026-03-18 11/550 2026-03-20 23:19 by JourneyLucky
[考研] 一志愿中海洋材料工程专硕330分求调剂 +8 小材化本科 2026-03-18 8/400 2026-03-20 23:16 by JourneyLucky
[考研] 295复试调剂 +8 简木ChuFront 2026-03-19 8/400 2026-03-20 20:44 by zhukairuo
[考研] 0817 化学工程 299分求调剂 有科研经历 有二区文章 +22 rare12345 2026-03-18 22/1100 2026-03-20 20:39 by zhukairuo
[考研] 085410人工智能专硕317求调剂(0854都可以) +4 xbxudjdn 2026-03-18 4/200 2026-03-20 09:07 by 不168
[考研] 一志愿中国海洋大学,生物学,301分,求调剂 +5 1孙悟空 2026-03-17 6/300 2026-03-19 23:46 by zcl123
信息提示
请填处理意见