STEP-3MOD2
Example 3 for DEALII, Modified Again
STEP-3MOD2 is a second modification of the standard step-3 example.
The region is still the square, but now we want the exact solution to be
u(x,y) = x^2 * y. Since the original example uses a constant right
hand side of 1, and zero boundary conditions, it is necessary to
change the right hand side to -2*y, and change the boundary conditions
to x^2*y.
Files you might find useful:
-
CMakeLists.txt,
the file needed by cmake on my system.
-
step-3mod2.cc,
the source code for the example.
-
step-3mod2.sh,
a shell script which contains the commands to create the
makefile and run the example.
-
step-3mod2_output.txt,
the output file.
-
solution.eps,
graphics information about the solution,
in EPS format.
-
solution.vtk,
graphics information about the solution, which can be input
to visit or paraview.
-
solution.png,
a PNG image of the solution Z(X,Y).
You can go up one level to
the DEALII directory.
Last revised on 01 June 2016.