neural_operators#
Neural operators (DeepONet, PCANet, FNO) and the supporting infrastructure (PDE forward models, Gaussian priors, MCMC, plotting) used to apply them to parametric PDE problems.
Applications (survey article, book chapter) live in a separate repo, applications_neural_operators.
Installation#
FEniCSx (dolfinx, ufl, petsc4py, mpi4py) and PyTorch are
installed from conda-forge, not pip – see the
README for why.
conda env create -f neuralop.yml
conda activate neuralopv2
API reference#
- neural_operators.data
- neural_operators.pde
PDEModelbuild_vector_vertex_maps()eval_at_vertices()function_to_vector()function_to_vertex()vector_to_function()vector_to_vertex()vertex_to_function()vertex_to_vector()apply_grid_vector_dirichlet_bc()get_dirichlet_bc()get_grid_dirichlet_bc()interpolate_mixed_vector_to_grid()mesh_cells()test_dirichlet_bc_functions()write_mesh_xdmf()
- neural_operators.prior
- neural_operators.nn
- neural_operators.mcmc
- neural_operators.plotting