Galerkin FEM for elliptic PDEs
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

mesh.tex 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. % Graphic for TeX using PGF
  2. % Title: /home/tirons/CGEM/tirons/Class/npde/ass2/report/mesh.dia
  3. % Creator: Dia v0.96.1
  4. % CreationDate: Sun Mar 29 11:45:22 2009
  5. % For: tirons
  6. % \usepackage{tikz}
  7. % The following commands are not supported in PSTricks at present
  8. % We define them conditionally, so when they are implemented,
  9. % this pgf file will use them.
  10. \ifx\du\undefined
  11. \newlength{\du}
  12. \fi
  13. \setlength{\du}{15\unitlength}
  14. \begin{tikzpicture}
  15. \pgftransformxscale{1.000000}
  16. \pgftransformyscale{-1.000000}
  17. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  18. \pgfsetstrokecolor{dialinecolor}
  19. \definecolor{dialinecolor}{rgb}{1.000000, 1.000000, 1.000000}
  20. \pgfsetfillcolor{dialinecolor}
  21. \pgfsetlinewidth{0.100000\du}
  22. \pgfsetdash{}{0pt}
  23. \pgfsetdash{}{0pt}
  24. \pgfsetbuttcap
  25. {
  26. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  27. \pgfsetfillcolor{dialinecolor}
  28. % was here!!!
  29. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  30. \pgfsetstrokecolor{dialinecolor}
  31. \draw (12.012500\du,10.037500\du)--(27.337500\du,10.062500\du);
  32. }
  33. % setfont left to latex
  34. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  35. \pgfsetstrokecolor{dialinecolor}
  36. \node[anchor=west] at (11.712500\du,12.537500\du){0};
  37. % setfont left to latex
  38. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  39. \pgfsetstrokecolor{dialinecolor}
  40. \node[anchor=west] at (26.820000\du,12.410000\du){$\pi$};
  41. \pgfsetlinewidth{0.100000\du}
  42. \pgfsetdash{}{0pt}
  43. \pgfsetdash{}{0pt}
  44. \pgfsetbuttcap
  45. {
  46. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  47. \pgfsetfillcolor{dialinecolor}
  48. % was here!!!
  49. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  50. \pgfsetstrokecolor{dialinecolor}
  51. \draw (13.270437\du,9.662500\du)--(13.295437\du,10.474332\du);
  52. }
  53. \pgfsetlinewidth{0.100000\du}
  54. \pgfsetdash{}{0pt}
  55. \pgfsetdash{}{0pt}
  56. \pgfsetbuttcap
  57. {
  58. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  59. \pgfsetfillcolor{dialinecolor}
  60. % was here!!!
  61. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  62. \pgfsetstrokecolor{dialinecolor}
  63. \draw (12.056953\du,9.640847\du)--(12.032938\du,11.749332\du);
  64. }
  65. \pgfsetlinewidth{0.100000\du}
  66. \pgfsetdash{}{0pt}
  67. \pgfsetdash{}{0pt}
  68. \pgfsetbuttcap
  69. {
  70. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  71. \pgfsetfillcolor{dialinecolor}
  72. % was here!!!
  73. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  74. \pgfsetstrokecolor{dialinecolor}
  75. \draw (14.981953\du,9.665847\du)--(15.006953\du,10.477678\du);
  76. }
  77. \pgfsetlinewidth{0.100000\du}
  78. \pgfsetdash{}{0pt}
  79. \pgfsetdash{}{0pt}
  80. \pgfsetbuttcap
  81. {
  82. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  83. \pgfsetfillcolor{dialinecolor}
  84. % was here!!!
  85. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  86. \pgfsetstrokecolor{dialinecolor}
  87. \draw (17.016953\du,9.680847\du)--(17.041953\du,10.492678\du);
  88. }
  89. \pgfsetlinewidth{0.100000\du}
  90. \pgfsetdash{}{0pt}
  91. \pgfsetdash{}{0pt}
  92. \pgfsetbuttcap
  93. {
  94. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  95. \pgfsetfillcolor{dialinecolor}
  96. % was here!!!
  97. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  98. \pgfsetstrokecolor{dialinecolor}
  99. \draw (18.026953\du,9.670847\du)--(18.051953\du,10.482678\du);
  100. }
  101. \pgfsetlinewidth{0.100000\du}
  102. \pgfsetdash{}{0pt}
  103. \pgfsetdash{}{0pt}
  104. \pgfsetbuttcap
  105. {
  106. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  107. \pgfsetfillcolor{dialinecolor}
  108. % was here!!!
  109. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  110. \pgfsetstrokecolor{dialinecolor}
  111. \draw (18.986953\du,9.660847\du)--(19.011953\du,10.472678\du);
  112. }
  113. \pgfsetlinewidth{0.100000\du}
  114. \pgfsetdash{}{0pt}
  115. \pgfsetdash{}{0pt}
  116. \pgfsetbuttcap
  117. {
  118. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  119. \pgfsetfillcolor{dialinecolor}
  120. % was here!!!
  121. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  122. \pgfsetstrokecolor{dialinecolor}
  123. \draw (20.971953\du,9.700847\du)--(20.996953\du,10.512678\du);
  124. }
  125. \pgfsetlinewidth{0.100000\du}
  126. \pgfsetdash{}{0pt}
  127. \pgfsetdash{}{0pt}
  128. \pgfsetbuttcap
  129. {
  130. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  131. \pgfsetfillcolor{dialinecolor}
  132. % was here!!!
  133. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  134. \pgfsetstrokecolor{dialinecolor}
  135. \draw (27.356953\du,9.665847\du)--(27.357938\du,11.724332\du);
  136. }
  137. \pgfsetlinewidth{0.100000\du}
  138. \pgfsetdash{}{0pt}
  139. \pgfsetdash{}{0pt}
  140. \pgfsetbuttcap
  141. {
  142. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  143. \pgfsetfillcolor{dialinecolor}
  144. % was here!!!
  145. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  146. \pgfsetstrokecolor{dialinecolor}
  147. \draw (24.216953\du,9.680847\du)--(24.241953\du,10.492678\du);
  148. }
  149. % setfont left to latex
  150. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  151. \pgfsetstrokecolor{dialinecolor}
  152. \node[anchor=west] at (11.445438\du,9.274332\du){$n_0$};
  153. % setfont left to latex
  154. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  155. \pgfsetstrokecolor{dialinecolor}
  156. \node[anchor=west] at (12.817938\du,9.306832\du){$n_1$};
  157. % setfont left to latex
  158. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  159. \pgfsetstrokecolor{dialinecolor}
  160. \node[anchor=west] at (14.602938\du,9.346832\du){$n_2$};
  161. % setfont left to latex
  162. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  163. \pgfsetstrokecolor{dialinecolor}
  164. \node[anchor=west] at (16.567938\du,9.306832\du){$n_3$};
  165. % setfont left to latex
  166. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  167. \pgfsetstrokecolor{dialinecolor}
  168. \node[anchor=west] at (26.967938\du,9.231832\du){$n_N$};
  169. % setfont left to latex
  170. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  171. \pgfsetstrokecolor{dialinecolor}
  172. \node[anchor=west] at (12.282938\du,10.974332\du){$h_0$};
  173. % setfont left to latex
  174. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  175. \pgfsetstrokecolor{dialinecolor}
  176. \node[anchor=west] at (13.542938\du,11.006832\du){$h_1$};
  177. % setfont left to latex
  178. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  179. \pgfsetstrokecolor{dialinecolor}
  180. \node[anchor=west] at (15.377938\du,10.971832\du){$h_2$};
  181. % setfont left to latex
  182. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  183. \pgfsetstrokecolor{dialinecolor}
  184. \node[anchor=west] at (17.017938\du,10.981832\du){$h_3$};
  185. % setfont left to latex
  186. \definecolor{dialinecolor}{rgb}{0.000000, 0.000000, 0.000000}
  187. \pgfsetstrokecolor{dialinecolor}
  188. \node[anchor=west] at (25.202938\du,11.121832\du){$h_{N-1}$};
  189. \end{tikzpicture}