Class documentation of Concepts

Loading...
Searching...
No Matches
linearFEM1d.doxy
1
294string author "(empty)"
295string comment "(empty)"
296string title "(empty)"
297int gauss_p 1
298int level 3
299end
300// output starts here
301double exEnergie 0.0246385
302array double energieFehler {
303 1 0.100759
304 2 0.0318543
305}
306array double h {
307 1 0.5
308 2 0.25
309}
310array double maxNodalFehler {
311 1 0.0644745
312 2 0.0464661
313} @endcode
314
315 Error diagrams:
316 <img src="linearFEM1d-conv.png" width="640" height="480" alt="error diagram">
317 The diagram above was created using the following commands: @code
318set logscale x
319set logscale y
320set grid
321set grid mxtics
322set grid mytics
323set key top left
324set xlabel 'h'
325set ylabel 'error'
326plot 'linearFEM1d-1.gnuplot' using 3:2 title 'relative energy error, gauss_p = 1', \
327 '' using 3:4 title 'max nodal error, gauss_p = 1', \
328 'linearFEM1d-2.gnuplot' using 3:2 title 'relative energy error, gauss_p = 2', \
329 '' using 3:4 title 'max nodal error, gauss_p = 2' @endcode
330
331 Exact and numerical solution:
332 <img src="linearFEM1d-solution.png" width="640" height="480"
333 alt="exact and numerical solution">
334 The diagram above was created using the following commands: @code
335set xlabel 'x'
336set ylabel 'u(x)'
337set key bottom left
338plot 'solution1d-1.gnuplot', 'solution1d-2.gnuplot', 'solution1d-3.gnuplot', -3.0*cosh(x)/cosh(1.0)+x*x+2.0 @endcode
339
340 @section complete Complete Source Code
341 @author Philipp Frauenfelder, 2004
342*/