Re: [deal.II] How do I set initial solution vector to boundary values in DG?

2022-12-04 Thread Timo Heister
I would consider the boundary conditions part of the nonlinear iteration (in contrast to step-15, where they are strongly enforced and as such are only needed in step 0). Every step you can evaluate your nonlinear residual which contains a residual in the boundary condition and that difference

[deal.II] Re: How would you document a step/code/module?

2022-12-04 Thread Marc Fehling
Hello Abbas, if you are willing the share your code with the deal.II community, you can submit your code to the deal.II code gallery. The documentation for each of the example programs use the same doxygen formatting as deal.II. https://www.dealii.org/code-gallery.html

Re: [deal.II] Re: Error in compiling step-1

2022-12-04 Thread X. Zhu
Hello Jan and Prof. Bangerth, Thanks for your reply. I fixed the issue by removing the package. After that, I can run step-1 by the "apt-get" version 9.1.1 and also by the git clone package (version 9.5.0). Thank you all. On Sat, Dec 3, 2022 at 2:31 PM Jan Philipp Thiele <

[deal.II] How would you document a step/code/module?

2022-12-04 Thread Abbas
Hello, Let's say you made 1000+ lines of code with dealii, and you want to document and share it in a format similar to that of the dealii steps, how would you go about doing this? MAYBE in the future people will share single "modules" with some "tutorial" like documentation. This might be