FastVPINNs Module Documentation =============================== This section covers the documentation of the FastVPINNs modules. The package is divided into several subpackages, each of which is documented in its own section. The main module documentation is provided below. - :ref:`FE ` - Finite Element routines for 2D domains - :ref:`Geometry ` - Meshing and Geometry routines - :ref:`Model ` - Dense Neural Network Model - :ref:`Physics ` - Physics classes for the problem - :ref:`Data ` - Data handling routines - :ref:`Utils ` - Utility functions .. _FE: FE ----------- ---- This section holds the documentation for the FE module of the FastVPINNs package. The module provides the necessary classes and functions to obtain the finite element test functions and quadrature points for the 2D domain within the FastVPINNs package. This section is broadly classified into .. toctree:: :maxdepth: 2 :titlesonly: Finite Element Test Functions '''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Jacobi test functions Basis function 2d(Abstract) .. toctree:: :maxdepth: 2 :titlesonly: Quadrature Functions '''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Quadrature Functions(Abstract) Quadrature Functions-2D .. toctree:: :maxdepth: 2 :titlesonly: Finite Element Transformations '''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: FE Transformation(Abstract) Affine Transformations Bilinear Transformations .. toctree:: :maxdepth: 2 :titlesonly: Finite Element Setup '''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Fespace2D FE2DSetupMain FE2DCell .. _Geometry: Geometry ----------- ---- This section holds the documentation for the the geometry module of the FastVPINNs package. The module provides the necessary classes and functions to obtain the geometry information either from the external mesh file or from the internal mesh generation routines. This supports the generation of VTK and GMSH files for visualization purposes. .. toctree:: :maxdepth: 2 :titlesonly: Geometry(Abstract) Geometry2D .. _Model: Model ----------- ---- This section holds the documentation for the the Model module of the FastVPINNs package. The module provides the necessary classes and functions to train a Variational physics informed neural network (VPINN) model for the given physics problem. The model contains only the information about the neural network architecture and the training process. The physics information is provided by the user in the form of a physics class. The model class is responsible for training the neural network and providing the necessary prediction functions. .. toctree:: :maxdepth: 2 :titlesonly: Model Types '''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Dense Model - Forward Problem Dense Model - Forward Problem with hard constraints Dense Model - Inverse Problem Constant Coefficient Dense Model - Inverse Problem Spatially Varying Coefficient .. _Physics: Physics ----------- ---- This section holds the documentation for the the Physics module of the FastVPINNs package. The module provides the necessary classes and functions to define the physics of the problem. The physics class contains the information about the governing equations and their loss calculation in the variational form. .. toctree:: :maxdepth: 2 :titlesonly: Forward Problems '''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Convection-Diffusion 2D Helmholtz 2D Poisson 2D Inverse Problems (Constant Coefficient) '''''''''''''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Convection-Diffusion-2D - Inverse Problem with Constant Coefficient Poission-2D - Inverse Problem with Constant Coefficient Inverse Problems (Spatially Varying Coefficient) '''''''''''''''''''''''''''''''''''''''''''''''' .. toctree:: :maxdepth: 2 :titlesonly: Convection-Diffusion-2D - Inverse Problem with Spatially Varying Coefficient .. _Data: Data ----------- ---- This section holds the documentation for the the datahandler module of the FastVPINNs package. The module provides the necessary classes and functions to handle the data for the training of the VPINN model. The datahandler class is responsible for generating and assembling the tensors into required format for the training process. .. toctree:: :maxdepth: 2 :titlesonly: DataHandler - Abstract class for all datahandler routines DataHandler2D - DataHandler routines for 2D .. _Utils: Utils ----------- ---- This section holds the documentation for all the helper functions, which are responsible for plotting and console outputs. .. toctree:: :maxdepth: 2 :titlesonly: Plotting utils Printing utils Compute utils