3.3.1 サンプル・プログラム

potential2d-v2.edp というサンプル・プログラムを用意した。 これは単位円盤領域 $ \Omega$ の境界$ \rd\Omega$

      $\displaystyle \Gamma_1:(x,y)=(\cos\theta,\sin\theta)$   ( $ \theta\in[0,\pi/6]$)$\displaystyle ,$
      $\displaystyle \Gamma_2:(x,y)=(\cos\theta,\sin\theta)$   ( $ \theta\in[\pi/6,\pi]$)$\displaystyle ,$
      $\displaystyle \Gamma_3:(x,y)=(\cos\theta,\sin\theta)$   ( $ \theta\in[\pi,4\pi/3]$)$\displaystyle ,$
      $\displaystyle \Gamma_3:(x,y)=(\cos\theta,\sin\theta)$   ( $ \theta\in[4\pi/3,2\pi]$)

という4つの部分に分け、

$\displaystyle v_n=
\left\{
\begin{array}{ll}
-2 & \text{(on $\Gamma_1$)}\\
...
...n $\Gamma_3$)}\\
0 & \text{(on $\Gamma_2\cup\Gamma_4$)}
\end{array} \right.
$

とした場合のシミュレーション・プログラムである。

potential2d-v2.edp

/Users/mk/.tex-inputs/potential-progs/potential2d-v2.edp



桂田 祐史