Go to the documentation of this file.00001
00294 string author "(empty)"
00295 string comment "(empty)"
00296 string title "(empty)"
00297 int gauss_p 1
00298 int level 3
00299 end
00300
00301 double exEnergie 0.0246385
00302 array double energieFehler {
00303 1 0.100759
00304 2 0.0318543
00305 }
00306 array double h {
00307 1 0.5
00308 2 0.25
00309 }
00310 array double maxNodalFehler {
00311 1 0.0644745
00312 2 0.0464661
00313 } @endcode
00314
00315 Error diagrams:
00316 <img src="linearFEM1d-conv.png" width="640" height="480" alt="error diagram">
00317 The diagram above was created using the following commands: @code
00318 set logscale x
00319 set logscale y
00320 set grid
00321 set grid mxtics
00322 set grid mytics
00323 set key top left
00324 set xlabel 'h'
00325 set ylabel 'error'
00326 plot 'linearFEM1d-1.gnuplot' using 3:2 title 'relative energy error, gauss_p = 1', \
00327 '' using 3:4 title 'max nodal error, gauss_p = 1', \
00328 'linearFEM1d-2.gnuplot' using 3:2 title 'relative energy error, gauss_p = 2', \
00329 '' using 3:4 title 'max nodal error, gauss_p = 2' @endcode
00330
00331 Exact and numerical solution:
00332 <img src="linearFEM1d-solution.png" width="640" height="480"
00333 alt="exact and numerical solution">
00334 The diagram above was created using the following commands: @code
00335 set xlabel 'x'
00336 set ylabel 'u(x)'
00337 set key bottom left
00338 plot 'solution1d-1.gnuplot', 'solution1d-2.gnuplot', 'solution1d-3.gnuplot', -3.0*cosh(x)/cosh(1.0)+x*x+2.0 @endcode
00339
00340 @section complete Complete Source Code
00341 @author Philipp Frauenfelder, 2004
00342 */