Hello
I want to solve a nonlinear equation discretized by a DGM.
To do it, I am going to use newton method.
For newton method F’ = -F, I need to use the solution at the previous step.
In view of step-15, it seems that I can do it.
However, I have no ideas and clues on how to access the solution of faces at the previous step. (I need solution values and the gradients)
In addition, in step-15, it has solution values at each cell. Hence, using for loop, simply access to the solution in the order is fine. On the contrary, in step-74, there are three parts such as cells, boundary faces and internal faces. I am not sure how to get the solution and use it according to other indices. This concern happens because I do not know the data structure.
Please give me some advice.
Best regards
Hyungeun