Provide 5 examples of solving PDEs, as well as constructing the error bounds.
The project is built on MacbookPro M2 chip. Make sure you have the following installed on your system:
- Python 3.12.2
- pip3 (python package manager)
Follow these steps to set up your environment:
- create python virtual environment run: python3 -m venv venv
- activate python virtual environment run: source venv/bin/activate
- install required packages run: pip3 install -r requirements.txt
The models are stored in the folder: examples/1d_ou/output/
The plots are saved in the folder: examples/1d_ou/figs/
- cd examples/1d_ou
- python main.py --train=0 (this will generate plots using pretrained models)
- python main.py --train=1 (this will train the models and generate plots)
The models are stored in the folder: examples/1d_statedepend/exp1/main/output/
The plots are saved in the folder: examples/1d_statedepend/exp1/main/figs/
- cd examples/1d_statedepend
- python main.py --train=0 (this will generate plots using pretrained models)
- python main.py --train=1 (this will train the models and generate plots)
The models are stored in the folder: examples/1d_nonlinear/exp1/main/output/
The plots are saved in the folder: examples/1d_nonlinear/exp1/main/figs/
The data (of the Monte-Carlo simulation for "true" solution) is in the folder: examples/1d_nonlinear/exp1/data/
- cd examples/1d_nonlinear
- python main.py --train=0 (this will generate plots using pretrained models)
- python main.py --train=1 (this will train the models and generate plots)
The models are stored in the folder: examples/2d_nonlinear/exp1/main/output/
The plots are saved in the folder: examples/2d_nonlinear/exp1/main/figs/
The data (of the Monte-Carlo simulation for "true" solution) is in the folder: examples/2d_nonlinear/exp1/data/
- cd examples/2d_nonlinear
- python main.py --train=0 (this will generate plots using pretrained models)
- python main.py --train=1 (this will train the models and generate plots)
The models are stored in the folder: examples/1d_heat/output/
The plots are saved in the folder: examples/1d_heat/figs/
- cd examples/1d_heat
- python main.py (this will train the models and generate plots)