ファイル:Brusselator space.gif
提供: testwiki
ナビゲーションに移動
検索に移動
Brusselator_space.gif (125 × 125 ピクセル、ファイルサイズ: 1.44メガバイト、MIME タイプ: image/gif、ループします、200 フレーム、20秒)
このファイルはウィキメディア・コモンズのものであり、他のプロジェクトで使用されている可能性があります。 ウィキメディア・コモンズでのファイル解説ページにある説明を以下に示します。
概要
| 解説Brusselator space.gif |
English: some frames from a simulation of the brusselator model in 2D |
| 日付 | |
| 原典 | 投稿者自身による著作物 |
| 作者 | Jkrieger |
| GIF 開発 InfoField | |
| ソースコード InfoField | MATLAB codeclear;
% timestep
DeltaT=0.1;
% diffusion coefficients
DX=0.2;
DY=0.02;
% reaction constants
k1=1;
k2=1;
k3=1;
k4=1;
% initial concentrations
X0=1;
Y0=1;
% constant concentrations
A=1;
B=3;
% sigma of the random initial distortion
initRandomSigma=2;
% width/height of the simulation grid
width=100;
% number of iterations before display
iterationsPre=3000;
% number of visible iterations after pre
iterations=300;
iterationsDT=6;
% number of visible iterations before pre
iterationsStart=300;
% number of visible iterations before pre
iterationsInit=300;
% number of invisible iterations before iterationsStart
iterationsStartPre=600;
% number of visible iterations after pre
iterationsPre1=6000;
% number of visible iterations after pre
iterations1=300;
% laplace operator
laplace=0.25*[0 1 0; 1 -4 1; 0 1 0];
% initialize reaction variables
X(1:width,1:width)=X0+(rand(width,width)-0.5)*2*initRandomSigma;
Y(1:width,1:width)=Y0+(rand(width,width)-0.5)*2*initRandomSigma;
X(X<0)=0;
Y(Y<0)=0;
X(X>4.5)=4.5;
Y(Y>4.5)=4.5;
Xi=X;
Yi=Y;
% colormap
rbmap(1:100,1:3)=0;
rbmap(:,1)=((length(rbmap)-1)-(0:(length(rbmap)-1)))/(length(rbmap)-1);
rbmap(:,3)=(0:(length(rbmap)-1))/(length(rbmap)-1);
figure(1)
s=get(gcf, 'Position');
s(3)=250;
s(4)=200;
set(gcf, 'Position', s);
mf=1;
for it=1:(iterationsInit+iterationsStartPre+iterationsStart+iterationsPre+iterations+iterationsPre1+iterations1)
lapX=conv2(X, laplace, 'same');
lapY=conv2(Y, laplace, 'same');
vX=k1*A+k2*X.^2.*Y-k3*B*X-k4*X+DX.*lapX;
vY=k3*B*X-k2*X.^2.*Y+DY.*lapY;
% leave border as distrotion centers
vX(1:width,[1 width])=0;
vX([1 width],1:width)=0;
vY(1:width,[1 width])=0;
vY([1 width],1:width)=0;
if ((it<=iterationsInit) ...
|
ライセンス
このファイルはクリエイティブ・コモンズ 表示 3.0 非移植ライセンスのもとに利用を許諾されています。
帰属:
- あなたは以下の条件に従う場合に限り、自由に
- 共有 – 本作品を複製、頒布、展示、実演できます。
- 再構成 – 二次的著作物を作成できます。
- あなたの従うべき条件は以下の通りです。
- 表示 – あなたは適切なクレジットを表示し、ライセンスへのリンクを提供し、変更があったらその旨を示さなければなりません。これらは合理的であればどのような方法で行っても構いませんが、許諾者があなたやあなたの利用行為を支持していると示唆するような方法は除きます。
キャプション
このファイルの内容を1行で記述してください
このファイルに描写されている項目
題材
ウィキデータ項目がない値
3 8 2012
image/gif
d4e6c595dfd0671268202f6c17def14540cfb977
1,506,406 バイト
20.000000000000014 秒
125 ピクセル
125 ピクセル
ファイルの履歴
過去の版のファイルを表示するには、その版の日時をクリックしてください。
| 日時 | サムネイル | 寸法 | 利用者 | コメント | |
|---|---|---|---|---|---|
| 現在の版 | 2012年8月8日 (水) 10:23 | 125 × 125 (1.44メガバイト) | wikimediacommons>Jkrieger | more regions |
ファイルの使用状況
以下のページがこのファイルを使用しています:
