I just tried to modify step-3 to 1D. The changes are minor.
The equation is changed to be with a small reaction.
The mesh is generated with subdivided_hyper_cube (triangulation, 50, 0,
10); I changed all the <2>, the dimension, to <1>.
When running the program, the solution is zero on the left side as
expected. However, the right side solution is something nonzero. Since I am
using the same apply_boundary_condition settings, I am supposed to get zero
solution on both boundaries, right? Am I missing something?
Thanks in advance.
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.