cubman

cubmanプログラムはGaussianによって生成された電子密度や静電ポテンシャルの値の入ったcubeを操作します。このプログラムでは実行する操作をユーザーが指示し,その後必要なファイル名を指定します。実行可能な操作と,それに対応するサブコマンドは以下の通りです:

add 新しいcubeを生成するために2つのcubeを加えます

copy cubeをコピーします。可能なら,フォーマット形式から非フォーマット形式(またはその逆)に変換します。

diff 2つのcube間の差のプロパティを,新しいcubeを作成せずに計算します。

prop あるcubeのプロパティを計算します。

subtract 2つのcubeの差をとって新しいcubeを生成します。

scale cubeを定数倍して,新しいcubeを生成します。

サブコマンドは,短縮する(コマンド名を最短で表記する)こともできます。

以下は, cubmanの実行例(注釈つき)です。なお,ユーザーが入力している部分は太字(Bold)で,また出力は一部省略してあります。

$ cubman
Action [Add, Copy, Difference, Properties, SUbtract, SCale]? p
Input file? b.cube
Is it formatted [no,yes,old]? y
Opened special file b.cube.
Input file titles:
First excited state of propellane     ジョブのタイトル行
CI Total Density   	           cubeファイルの内容

 SumAP= 13.39263 SumAN= .00000 SumA= 13.39263     cube内容の統計
 CAMax=  3.35320 XYZ= .18898 -1.32280 .000004
 CAMin=   .00000 XYZ= -9999.00000 -9999.00000 -9999.00000

 DipAE=  -.8245357658     .7624198057     .1127178115
 DipAN=  -.0000060000    -.0000060000     .0000000000
 DipA=   -.8245417658     .7624138057     .1127178115

$ cubman
Action [Add, Copy, Difference, Properties, SUbtract, SCale]? su
First input? b.cube
Is it formatted [no,yes,old]?  y
Opened special file b.cube.
Second input? a.cube
Is it formatted [no,yes,old]?  y
Opened special file a.cube.
Output file? c.cube     		新規cubeファイル名
Should it be formatted [no,yes,old]?  y
Opened special file c.cube.
Input file titles:
First excited state of propellane    1番目のcubeファイルのタイトル
CI Total Density     	         1番目のcubeファイルの内容
Input file titles:
Propellane HF/6-31G*     		2番目のcubeファイルのタイトル
SCF Total Density     	         2番目のcubeファイルの内容
Output file titles:     		新しいファイルに使われる合成されたタイトル
First excited state of propellane || Propellane HF/6-31G*
CI Total Density - SCF Total Density     計算した差分

 SumAP= 13.39263 SumAN= .00000 SumA= 13.39263     1番目のcubeの統計
 CAMax=  3.35320 XYZ=  .18898 -1.32280 .000004
 CAMin=   .00000 XYZ= -9999.00000 -9999.00000 -9999.00000 

 SumBP= 13.38168 SumBN= .00000 SumB= 13.38168     2番目のcubeの統計
 CBMax=  3.39683 CBMin= .00000

 SumOP=   .63453 SumON=-.62358 SumO=   .01094     出力cubeの統計
 COMax=   .49089 COMin=-.39885

 DipAE=  -.8245357658     .7624198057     .1127178115
 DipAN=  -.0000060000    -.0000060000     .0000000000
 DipA=   -.8245417658     .7624138057     .1127178115

 DipBE=  -.8306292172     .5490287046     .1243830393
 DipBN=  -.0000060000    -.0000060000     .0000000000
 DipB=   -.8306352172     .5490227046     .1243830393

 DipOE=   .0060934514     .2133911011    -.0116652278
 DipON=  -.0000060000    -.0000060000     .0000000000
 DipO=    .0060874514     .2133851011    -.0116652278

 

この出力では,入力cubeはAおよびB, 出力cubeはOで表されます。その他の文字では,Nは(内容により)「負の値(negative value)」または「核(nuclear)」を表し,Pは「正の値(positive value)」を,Eは「電気的(electronic)」,Cは「電荷(charge)」,Dip は「双極子(dipole)」,Sumは「合計(sum)」,Maxは「最大(maximun)」, Minは「最小(minimum)」を表します。したがって,SumANは1番目の入力cubeに対する合計を負の値に対して取ったことを示し,DipON は出力cubeに対する双極子モーメントの核寄与を示します。同様に,CBMaxは2番目のcubeに対する最大の電荷を,SumOは出力cubeでの値の合計(正,負の値両方)を示します。