• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão99fae860e52b3bfc1532a174bdabde783f954f23 (tree)
Hora2007-10-05 22:09:46
Autoriselllo
Commiteriselllo

Mensagem de Log

I corrected a few typos and went on developing the code. The aim is to
calculate the time-dependent radial density function.

Mudança Sumário

Diff

diff -r 333392d74b58 -r 99fae860e52b TCL-codes/mytest2.tcl
--- a/TCL-codes/mytest2.tcl Fri Oct 05 10:44:41 2007 +0000
+++ b/TCL-codes/mytest2.tcl Fri Oct 05 13:09:46 2007 +0000
@@ -65,10 +65,10 @@
6565
6666 #prepare the saving of the results
6767
68-set obs [open "rg_lorenzo.dat" "w"]
68+#set obs [open "rg_lorenzo.dat" "w"]
6969
7070
71-for {set i 0} { $i < 20 } { incr i} {
71+for {set i 0} { $i < 3 } { incr i} {
7272 set temp [expr [analyze energy kinetic]/(1.5*$n_part)]
7373 puts "t=[setmd time] E=[analyze energy total], T=$temp"
7474 integrate $integ_steps
@@ -90,11 +90,25 @@
9090
9191 }
9292
93-close $obs
93+#close $obs
9494 puts "end of integration"
9595
96-plotObs "rg.dat" { 1:2 } labels { "time" "rg" } out "rg"
97-exec gv rg.ps
96+#plotObs "rg.dat" { 1:2 } labels { "time" "rg" } out "rg"
97+#exec gv rg.ps
98+
99+set f [open "config_1" "r"]
100+while { [blockfile $f read auto] != "eof" } {}
101+close $f
102+
103+puts "ok reading the block file"
104+
105+set rdf [analyze rdf 0 0 0.9 [expr $box_l/2] 100]
106+set rlist ""
107+set rdflist ""
108+foreach value [lindex $rdf 1] {
109+lappend rlist [lindex $value 0]
110+lappend rdflist [lindex $value 1]
111+}
98112
99113
100114 puts "So far so good"
\ No newline at end of file