2007-06-01から1ヶ月間の記事一覧

うまくいかないときのチェック項目

始めるときIPS = 1 IRS = 0主自由パラメータを par[J] とする. stpnt 内で par[J] に値を与えているか. また,c.xxx 内で,主パラメータを正しく設定できているか. 1 J NICP ICP(I) さらに,その stpnt で与えた par[J] の値は, [RL0, RL1] 内に入ってい…

AUTO の流れ その2: 自作プログラムを埋めるなら,wrline or, wrtbv8

簡単な方法,2通り.1) auto_f2c.h で,関数を宣言し,他のユーザー定義関数 func, stpnt, bcnd,... 等と同様, 自作プログラム内で実装. autlib1.c 内,wrline or wrtbv8 やらの中で呼び出す.2) $AUTO_DIR/include 内に,hoge.h 等の自作ヘッダーを置き…

AUTO を 自作プログラム(c++)で使う(やめた.)

中途:とりあえず,AUTO の関数を使った c++ プログラムをコンパイルできるようになるまで. $(AUTO_DIR)/include/auto_f2c.h を編集. /* user function pointers */ int func(); int stpnt(); int bcnd(); int icnd(); int fopt(); int pvls(); を, int f…

/

#include "auto_f2c.h" #include "math.h" #include "auto_c.h" ...

AUTO の中身

($AUTO)/src/README README : This file. autlib1.f : Auto library routines (including main program) autlib2.f : Auto library routines (bvp linear equation routines) autlib3.f : Auto library routines (interface routines) autlib4.f : Auto libr…

AUTO on Mac のエラー

Mac で AUTO を実行しようとした時に起きたエラーの解決策. エラー 1 : /usr/bin/ld: Undefined symbols : _main $ auto AUTO> ld("ab") AUTO> run() make: [ab.o] Error 1 (ignored) ... /usr/bin/ld: Undefined symbols: _main collect2: ld returned 1 e…

AUTO の出力

fort.7 (=> b.hoge) :安定性の交代,分岐点の種類が見易い. fort.8 (=> s.hoge):軌道の座標. fort.9 (=> d.hoge):固有値,L2-norm, max(1) max(2), periodautlib1.c の,wrtbv8 内で出力 軌道の空間座標値は,ups[j][k] (0 fort.8 4 30 4 6 2 1 20…

AUTO から,shooting point を得る.

wrtbv8(iap_type *iap, rap_type *rap, doublereal *par, integer *icp, doublereal *rldot, integer *ndxloc, doublereal **ups, doublereal **udotps, doublereal *tm, doublereal *dtm) { ... mtot = ntot % 10000; fprintf(fp8,"%5ld",ibr); fprintf(fp8…

AUTO の流れ:continuation は,extrbv stupbv stplbv (adapt) -> extrbv を反復しながら行っている.

main.c main autlib1.c autoae -> cnrlae//Generate the starting point stpnt pvlinewlab //Determine a suitable starting label and branch number sthd //Write constants stplae //Write plotting data for the starting point stprae //Starting proce…

imagemagick のインストール

mac

http://www.ishihara.ne.jp/blog/archives/2006/10/index.html より転載 $ fink install libjpeg $ fink install libpng31. ImageMagickのソースコード一式を以下のサイトより取得(今回は ImageMagick-6.3.0) http://www.imagemagick.org/script/download.…