#!/usr/bin/env ruby1.8
#
#= dcmodel thumbnail generate ruby script
#
#  Editor :: kakinami
#  Version:: 2005/12/08 21:32:52
#
#== Overview
#
#This file is generate by following ruby script automatically.
#
#      /GFD_Dennou_Work/takepiro/spmodel-dvlop/baro/free-decay/exp/cpg100_gallery/htmltools_case/dcmodel-thum.rb
#      version "$Revision: 1.22 $ : $Date: 2005/12/07 14:57:31 $"
#
#Please edit this file according to your purpose.
#
#== Usage
#
#Please check following sample page and reference manual.
#
#  http://www.gfd-dennou.org/arch/dcmodel/doc/dcmodel-tools/dcmodel-thum-sample
#  http://www.gfd-dennou.org/arch/dcmodel/doc/dcmodel-tools/dcmodel-thum-rdoc
#
##################################################

require "/GFD_Dennou_Work/takepiro/spmodel-dvlop/baro/free-decay/exp/cpg100_gallery/htmltools_case/dcmodel-thum.rb"

######################################################
# DCModelThumbnail のインスタンスを作成 (必須)
thumb = DCModelThumbnail.new

# サムネイル実行コマンド (必須)。最後に実行すること
END{
  thumb.create
}

# コピーライト
#thumb.copyright = "GFD Dennou Club"

# 作成されるサムネイルのファイル名 (拡張子除く)
#thumb.index     = "../case101_ekspn"
thumb.index     = "../"+File.basename(ARGV[0],".txt")

# 作成されるサムネイルの拡張子名
#thumb.index_ext = ".htm"

# 「情報ファイル (infofile)」のファイル名
#thumb.infofile  = "#{File.basename(thumb.index)}.txt"
thumb.infofile  = ARGV[0]
randum = ARGV[0].scan(/\d*/)

# 画像ファイルとして認識させたい拡張子の追加。
# デフォルトでは gif, png, jpg, jpeg, GIF, PNG, JPG, JPEG が認識される。
#thumb.ext_list.push("bmp")

# headlimit に当てはまらないものは画像としては無視され、
# 当てはまるものは「情報ファイル」において、接頭部分 headlimit が
# 省略可能になる。
#thumb.headlimit = "headlimit_"

# 絵のあるディレクトリの名前。必ず存在していなければならない。
#thumb.figdir    = "../figures"

# サムネイル画像を置くディレクトリの名前
#thumb.thumbnaildir    = "../thumbdir"

# サムネイル画像の拡張子名
#thumb.thumbnailtail    = "_thumb.png"

# サムネイル画像化する元画像のページ番号
#thumb.thumbnailpage = "1"

# convert コマンドおよびオプション。この後ろに画像サイズが 200x150
# のような形式で指定される。
#thumb.convert_cmd = "convert -depth 8 -geometry"

# スタイルシートファイル
#thumb.css       = "/GFD_Dennou_Club/ftp/arch/dcmodel/htmltools/dcmodel.css"
thumb.css       = "./dcmodel.css"

# rd2 コマンドへのパス
#thumb.rd2_path  = "/usr/bin/rd2"

# rd2-ext-lib へのライブラリへのパス
#thumb.rd2htmlextlib = "/GFD_Dennou_Club/ftp/arch/dcmodel/lib/ruby/1.8"

# SIGEN ファイルを作らない場合は false にセットする
#thumb.mksigen = false

# HTML のロボット検索を禁止する場合には true にセットする
#thumb.norobots = true

# 画像ファイルサイズ (幅)
#thumb.img_width  = 200
thumb.img_width  = 250

# 画像ファイルサイズ (高さ)
#thumb.img_height = 150
thumb.img_height = 180

# 横にならべるファイル数
thumb.figtable_num = 2

# スタイルシートを直接設定するためのもの
# (css ファイルに書き込む情報を直接指定できる)
#thumb.style = <<-STYLE
#  a:link { color:#269900; }
#  a:visited { color:#269900; }
#  a:hover { color:#99FF33; }
#STYLE

# html の作成者情報  (デフォルトはユーザアカウント名が自動取得される)
#thumb.html_author  = "kakinami"

# html ヘッダのタイトル
thumb.title     = "回転球面 2 次元順圧減衰性乱流実験"

# 本体に書き出すメッセージ。サムネイルの部分よりも上に出力される。
# この変数自体は Array オブジェクトで、その内部に String オブジェクトが
# 格納される。
thumb.message   = Array.new

# "=" ではなく、"<<" で代入することに注意！！
thumb.message   << <<-Message
=begin
[((<地球流体電脳倶楽部|URL:http://www.gfd-dennou.org>))]
[((<dcmodel|URL:http://www.gfd-dennou.org/arch/dcmodel>)) |
((<dcmodel-tools|URL:http://www.gfd-dennou.org/arch/dcmodel/doc/dcmodel-tools/SIGEN.htm>))]
[((<dcmodel-thum.rb|URL:http://www.gfd-dennou.org/arch/dcmodel/doc/dcmodel-tools/dcmodel-thum-rdoc>))]

[((<baro free-decay Top|URL:../free-decay.htm>))]
[((<all figures|URL:./figures.htm>))]
[Ω=((<0|URL:./Omega0.htm>)),((<50|URL:./Omega50.htm>)),((<100|URL:./Omega100.htm>)),((<200|URL:./Omega200.htm>)),((<400|URL:./Omega400.htm>)),((<1000|URL:./Omega1000.htm>)),((<4000|URL:./Omega4000.htm>)),((<10000|URL:./Omega10000.htm>))]
[case=((<101|URL:./case101.htm>)),((<102|URL:./case102.htm>)),((<103|URL:./case103.htm>)),((<104|URL:./case104.htm>)),((<105|URL:./case105.htm>)),((<106|URL:./case106.htm>)),((<107|URL:./case107.htm>)),((<108|URL:./case108.htm>)),((<109|URL:./case109.htm>)),((<110|URL:./case110.htm>)),((<111|URL:./case111.htm>)),((<112|URL:./case112.htm>)),((<113|URL:./case113.htm>)),((<114|URL:./case114.htm>)),((<115|URL:./case115.htm>)),((<116|URL:./case116.htm>)),((<117|URL:./case117.htm>)),((<118|URL:./case118.htm>)),((<119|URL:./case119.htm>)),((<120|URL:./case120.htm>)),((<121|URL:./case121.htm>)),((<122|URL:./case122.htm>)),((<123|URL:./case123.htm>)),((<124|URL:./case124.htm>)),((<125|URL:./case125.htm>))]
[animation ((<(vorticity)|URL:./anim_vor.htm>)),((<(vorticity:polar)|URL:./anim_vor_polar.htm>)),((<(spectrum)|URL:./anim_ekspn.htm>)),((<(spectrum[n-m])|URL:./anim_ekspnm.htm>)),((<(mean zonal flow)|URL:./anim_vellon.htm>)),((<(potential vorticity)|URL:./anim_pv.htm>))]
[((<ensemble|URL:./ensemble.htm>)) ((<(vorticity)|URL:./ensemble_vor.htm>)),((<(mean zonal flow)|URL:./ensemble_vellon.htm>))|((<(potential vorticity)|URL:./ensemble_pv.htm>)),(spectrum),((<(spectrum[n-m])|URL:./ensemble_ekspnm.htm>))]
=end

Message

  thumb.message   << <<-Message

<table BORDER=\"0\" cellspacing=\"10\" align=\"center\">
<tr>
  <td><small>ensemble</small></td>
  <td><small>
    [<a href =\"ensemble_ekspn.htm\">ekspn</a>] 
    [<a href =\"ensemble_vellon.htm\">ekspnm</a>] 
    [<a href =\"ensemble_vellon.htm\">vellon</a>] 
    [<a href =\"ensemble_vor.htm\">vor</a>] 
    </small>
  </td>
</tr>
<tr>
  <td><small>case101:</small></td>
  <td><small>
    [<a href =\"case101_ekspn.htm\">ekspn</a>] 
    [<a href =\"case101_vellon.htm\">vellon</a>] 
    [<a href =\"case101_strfunc.htm\">strfunc</a>] 
    [<a href =\"case101_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case102:</small></td>
  <td><small>
    [<a href =\"case102_ekspn.htm\">ekspn</a>] 
    [<a href =\"case102_vellon.htm\">vellon</a>] 
    [<a href =\"case102_strfunc.htm\">strfunc</a>] 
    [<a href =\"case102_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case103:</small></td>
  <td><small>
    [<a href =\"case103_ekspn.htm\">ekspn</a>] 
    [<a href =\"case103_vellon.htm\">vellon</a>] 
    [<a href =\"case103_strfunc.htm\">strfunc</a>] 
    [<a href =\"case103_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case104:</small></td>
  <td><small>
    [<a href =\"case104_ekspn.htm\">ekspn</a>] 
    [<a href =\"case104_vellon.htm\">vellon</a>] 
    [<a href =\"case104_strfunc.htm\">strfunc</a>] 
    [<a href =\"case104_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case105:</small></td>
  <td><small>
    [<a href =\"case105_ekspn.htm\">ekspn</a>] 
    [<a href =\"case105_vellon.htm\">vellon</a>] 
    [<a href =\"case105_strfunc.htm\">strfunc</a>] 
    [<a href =\"case105_vor.htm\">vor</a>] 
    </small>
  </td>
</tr>
<tr>
  <td><small>case106:</small></td>
  <td><small>
    [<a href =\"case106_ekspn.htm\">ekspn</a>] 
    [<a href =\"case106_vellon.htm\">vellon</a>] 
    [<a href =\"case106_strfunc.htm\">strfunc</a>] 
    [<a href =\"case106_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case107:</small></td>
  <td><small>
    [<a href =\"case107_ekspn.htm\">ekspn</a>] 
    [<a href =\"case107_vellon.htm\">vellon</a>] 
    [<a href =\"case107_strfunc.htm\">strfunc</a>] 
    [<a href =\"case107_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case108:</small></td>
  <td><small>
    [<a href =\"case108_ekspn.htm\">ekspn</a>] 
    [<a href =\"case108_vellon.htm\">vellon</a>] 
    [<a href =\"case108_strfunc.htm\">strfunc</a>] 
    [<a href =\"case108_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case109:</small></td>
  <td><small>
    [<a href =\"case109_ekspn.htm\">ekspn</a>] 
    [<a href =\"case109_vellon.htm\">vellon</a>] 
    [<a href =\"case109_strfunc.htm\">strfunc</a>] 
    [<a href =\"case109_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case110:</small></td>
  <td><small>
    [<a href =\"case110_ekspn.htm\">ekspn</a>] 
    [<a href =\"case110_vellon.htm\">vellon</a>] 
    [<a href =\"case110_strfunc.htm\">strfunc</a>] 
    [<a href =\"case110_vor.htm\">vor</a>] 
    </small>
  </td>
</tr>
<tr>
  <td><small>case111:</small></td>
  <td><small>
    [<a href =\"case111_ekspn.htm\">ekspn</a>] 
    [<a href =\"case111_vellon.htm\">vellon</a>] 
    [<a href =\"case111_strfunc.htm\">strfunc</a>] 
    [<a href =\"case111_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case112:</small></td>
  <td><small>
    [<a href =\"case112_ekspn.htm\">ekspn</a>] 
    [<a href =\"case112_vellon.htm\">vellon</a>] 
    [<a href =\"case112_strfunc.htm\">strfunc</a>] 
    [<a href =\"case112_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case113:</small></td>
  <td><small>
    [<a href =\"case113_ekspn.htm\">ekspn</a>] 
    [<a href =\"case113_vellon.htm\">vellon</a>] 
    [<a href =\"case113_strfunc.htm\">strfunc</a>] 
    [<a href =\"case113_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case114:</small></td>
  <td><small>
    [<a href =\"case114_ekspn.htm\">ekspn</a>] 
    [<a href =\"case114_vellon.htm\">vellon</a>] 
    [<a href =\"case114_strfunc.htm\">strfunc</a>] 
    [<a href =\"case114_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case115:</small></td>
  <td><small>
    [<a href =\"case115_ekspn.htm\">ekspn</a>] 
    [<a href =\"case115_vellon.htm\">vellon</a>] 
    [<a href =\"case115_strfunc.htm\">strfunc</a>] 
    [<a href =\"case115_vor.htm\">vor</a>] 
    </small>
  </td>
</tr>
<tr>
  <td><small>case116:</small></td>
  <td><small>
    [<a href =\"case116_ekspn.htm\">ekspn</a>] 
    [<a href =\"case116_vellon.htm\">vellon</a>] 
    [<a href =\"case116_strfunc.htm\">strfunc</a>] 
    [<a href =\"case116_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case117:</small></td>
  <td><small>
    [<a href =\"case117_ekspn.htm\">ekspn</a>] 
    [<a href =\"case117_vellon.htm\">vellon</a>] 
    [<a href =\"case117_strfunc.htm\">strfunc</a>] 
    [<a href =\"case117_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case118:</small></td>
  <td><small>
    [<a href =\"case118_ekspn.htm\">ekspn</a>] 
    [<a href =\"case118_vellon.htm\">vellon</a>] 
    [<a href =\"case118_strfunc.htm\">strfunc</a>] 
    [<a href =\"case118_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case119:</small></td>
  <td><small>
    [<a href =\"case119_ekspn.htm\">ekspn</a>] 
    [<a href =\"case119_vellon.htm\">vellon</a>] 
    [<a href =\"case119_strfunc.htm\">strfunc</a>] 
    [<a href =\"case119_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case120:</small></td>
  <td><small>
    [<a href =\"case120_ekspn.htm\">ekspn</a>] 
    [<a href =\"case120_vellon.htm\">vellon</a>] 
    [<a href =\"case120_strfunc.htm\">strfunc</a>] 
    [<a href =\"case120_vor.htm\">vor</a>] 
    </small>
  </td>
</tr>
<tr>
  <td><small>case121:</small></td>
  <td><small>
    [<a href =\"case121_ekspn.htm\">ekspn</a>] 
    [<a href =\"case121_vellon.htm\">vellon</a>] 
    [<a href =\"case121_strfunc.htm\">strfunc</a>] 
    [<a href =\"case121_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case122:</small></td>
  <td><small>
    [<a href =\"case122_ekspn.htm\">ekspn</a>] 
    [<a href =\"case122_vellon.htm\">vellon</a>] 
    [<a href =\"case122_strfunc.htm\">strfunc</a>] 
    [<a href =\"case122_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case123:</small></td>
  <td><small>
    [<a href =\"case123_ekspn.htm\">ekspn</a>] 
    [<a href =\"case123_vellon.htm\">vellon</a>] 
    [<a href =\"case123_strfunc.htm\">strfunc</a>] 
    [<a href =\"case123_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case124:</small></td>
  <td><small>
    [<a href =\"case124_ekspn.htm\">ekspn</a>] 
    [<a href =\"case124_vellon.htm\">vellon</a>] 
    [<a href =\"case124_strfunc.htm\">strfunc</a>] 
    [<a href =\"case124_vor.htm\">vor</a>] 
    </small>
  </td>
  <td><small>case125:</small></td>
  <td><small>
    [<a href =\"case125_ekspn.htm\">ekspn</a>] 
    [<a href =\"case125_vellon.htm\">vellon</a>] 
    [<a href =\"case125_strfunc.htm\">strfunc</a>] 
    [<a href =\"case125_vor.htm\">vor</a>] 
    </small>
  </td>
</tr>
</table>
    <br><br>
    <hr>

  Message

thumb.message   << <<-Message
=begin

==  渦度

=== 実験設定

 * ランダム種 : #{randum}
 * 時間積分 : 線形項を変換法による解析的な扱い + 非線形項は 4 次精度 Runge-Kutta スキーム(rn4expcs)
 * 初期値       : 水平全波数 n=50 をピークとする山型分布. 
 * 帯状波数成分の大きさはランダムに与えている. 
 * 積分時間 : 無次元時間 t=5 まで
 * 無次元回転角速度: 0, 50, 100, 200, 400, 1000, 4000, 10000

# * ((<情報ファイルへのリンク|URL:thum/htmlname.txt>))
# * 画像ファイルへのリンク((<URL:figdir>))

=end


Message




