Python Scripts IndexΒΆ
Click on a script name to download it.
deep_ritz/
stationary_pdes/
elliptic_pdes/
div_a_grad_u_1d_parametric.py: Solves a 1D elliptic PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
div_a_grad_u_1d_parametric_weak_bc.py: Solves a 1D elliptic PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
div_a_grad_u_2d_parametric.py: Solves a 2D elliptic PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
div_a_grad_u_laplacian_2d_parametric.py: Solves a 2D Poisson PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
laplacian_2d_disk_parametric.py: Solves a 2D Poisson PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
laplacian_2d_square_parametric.py: Solves a 2D Poisson PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
laplacian_2d_square_parametric_strong_bc.py: Solves a 2D Poisson PDE with Dirichlet BCs using the Deep Ritz method and PINNs.
domain/
meshless_domain.py: Provides examples and visualization of several meshless domains.
flows/
pendulum_flow.py: Learns the flow of a pendulum ODE using different training strategies.
pinns/
stationary_pdes/
elliptic_pdes/
preconditioners/
linear_order2.py: Solves a 2D linear second-order PDE using PINNs.
linear_order2_laplacian.py: Solves a 2D Poisson PDE with Dirichlet boundary conditions using PINNs.
bi_material_electrostatic_2d.py: Solves the electrostatics equation in 2D on a bi-material domain using PINNs.
homogeneous_helmholtz_2d.py: Solves the 2D Helmholtz PDE with homogeneous Dirichlet BCs using PINNs.
inhomogeneous_helmholtz_2d.py: Solves the 2D inhomogeneous Helmholtz PDE with homogeneous Dirichlet BCs using PINNs.
laplacian_2d_disk_parametric.py: Solves a 2D Poisson PDE with Dirichlet BCs using PINNs.
laplacian_2d_disk_parametric_dirichlet_neumann.py: Solves a 2D Poisson PDE with Dirichlet BCs using PINNs.
laplacian_2d_multiscale.py: Solves a 2D multiscale Poisson PDE using PINNs.
laplacian_2d_square.py: Solves a 2D Poisson PDE with Dirichlet boundary conditions using PINNs.
laplacian_2d_square_parametric.py: Solves a 2D Poisson PDE with Dirichlet boundary conditions using PINNs.
laplacian_2d_square_resnet.py: Solves a 2D Poisson PDE with Dirichlet boundary conditions using PINNs.
elliptic_systems/
grad_div_2d_strong_bc.py: Solves a grad-div system in 2D with Dirichlet boundary conditions using a PINN.
grad_div_2d_weak_bc.py: Solves a grad-div system in 2D with Dirichlet boundary conditions using a PINN.
navier_stokes_2d_square.py: (No docstring found)
time_dependent_pdes/
hyperbolic_pdes/
advection_1d_parametric_strong_bc.py: Solves the scalar linear advection equation in 1D using a PINN.
advection_1d_parametric_weak_bc.py: Solves the scalar linear advection equation in 1D using a PINN.
hyperbolic_systems/
linearized_euler.py: Solves the linearized Euler equations in 1D using a PINN.
linearized_euler_strong_bc.py: Solves the linearized Euler equations in 1D using a PINN.
parabolic_pdes/
heat_1d.py: Solves the heat equation in 1D using a PINN.
viscous_burgers_1d.py: Solves the viscous Burgers advection equation in 1D using a PINN.
preconditioners/
heat_1d.py: Solves the heat equation in 1D using a PINN.
heat_1d_strong_bc.py: Solves the heat equation in 1D using a PINN.
plots/
grad_shafranov_with_hole.py: Solves the Grad-Shafranov equation in 2D on a tokamak-like geometry using PINNs.
kinetic_vlasov_1d_1v.py: Solves the Vlasov equation in 1Dx1V using the neural semi-Lagrangian method.
laplacian_2d_square_mapping.py: Solves a 2D Poisson PDE with Dirichlet boundary conditions using PINNs.
projection_1d.py: Approximation and plot of a 1D parametric function using a neural network.
projection_1d_params.py: Approximation and plot of a 1D parametric function using a neural network.
projection_transport_t1x1v.py: Approximation and plot of a 2D time-dependent function using a neural network.
projection_transport_t1x1v_segment.py: Approximation and plot of a 2D time-dependent function using a neural network.
projection_transport_t2x2v.py: Approximation and plot of a 3D time-dependent function using a neural network.
time_discrete_heat_1d.py: Solves the heat equation in 1D using a discrete PINN.
projection/
kernel_space_1d_projection.py: Projection of a 1D function using kernel-based approximation spaces.
kernel_space_projection.py: Projection of a 2D function using kernel-based approximation spaces.
linearized_euler_ic.py: Learns the initial condition of a linearized Euler equation in 1D.
preconditioned_projection.py: Approximation of a function using several optimization strategies.
preconditioned_projection_heat_1d.py: Projection of a 1D time-dependent function using preconditioned methods.
projection_spectral.py: Learns an oscillatory function using a neural network or a spectral approximation.
separable_natural_gradient_projection.py: Learns a low- (or high-) rank function using a spectral approximation.
separable_natural_gradient_projection_spectral.py: Learns a low- (or high-) rank function using a neural network.
time_discrete/
advection_1d.py: Solves a 1D advection equation using two time-sequential schemes.
advection_1d_non_autonomous.py: Solves a 1D advection equation with a time-dependent velocity.
advection_1d_parametric.py: Solves a 1D parametric advection equation using two time-sequential schemes.
advection_1d_periodic.py: Solves a 1D advection equation in a periodic domain using a discrete PINN.
advection_2d_disk_parametric_discrete_pinn.py: Solves the advection of a 2D bump function on a disk with a discrete PINN.
advection_2d_disk_parametric_neural_sl.py: Solves the advection of a 2D parametric bump function on a disk.
advection_2d_filamenting.py: Approximates a filamenting 2D function.
advection_2d_vlasov.py: Solves the Vlasov equation on a periodic square.
advection_3d_parametric_cylinder.py: Solves the advection of a 3D parametric bump function in a cylinder.
advection_diffusion_nd.py: Solves an advection-diffusion equation in dimension 1 to 8.
advection_diffusion_nd_gaussian.py: Solves an advection-diffusion equation in dimension 1 to 8.
heat_1d.py: Solves a 1D heat equation using a discrete PINN.
heat_2d.py: Solves a 2D heat equation using neural Galerkin.
heat_2d_implicit_discrete_pinns.py: Solves a 2D heat equation using discrete pinns implicit.
kinetic_1d_1v_vlasov.py: Solves the Vlasov equation on a periodic square.
kinetic_2d_2v_radiative_transfer.py: Solves the radiative transfer equation with a discrete PINN.
level_set_2d.py: Solves the advection of a 2D level-set function.
level_set_3d.py: Solves the advection of a 3D level-set function.
level_set_3d_parametric.py: Solves the advection of a parametric 3D level-set function.
postprocess_advection_3d_parametric_cylinder.py: Postprocess the results of the 3D cylindrical transport problem.
postprocess_level_set_2d.py: Postprocess the results of the 2D level-set transport problem.
postprocess_level_set_3d.py: Postprocess the results of the 3D level-set transport problem.
postprocess_level_set_3d_parametric.py: Postprocess the results of the 3D parametric level-set transport problem.