To reproduce the numerical results of each model problem, go to the corresponding folder and follow these steps:
- Execute
Main.pyto run the code and train the network. The raw-format results are saved inSaved_models. - Run
Main_fem.pyto execute the FEM code and generate approximate FEM solutions used to compare with the LS-ReCoNN results. This step is necessary because an analytical solution is not available for this problem, so the FEM solution serves as the reference for comparison. - Run
plot1.pyandplot2.pyfor 1D and 2D problems, respectively, to generate the final graphics.