Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example documentation #6

Merged
merged 2 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ fastvpinns.egg-info/

#ignore output files
examples/**/output/
examples/**/output_*
examples/**/__pycache__/


# pytest
*.vtk
Expand All @@ -23,10 +26,7 @@ sensor_points.png
.egg-info/

#result files
examples/**/*.png
examples/**/*.vtk
examples/**/*.txt
examples/**/*.svg
examples/**/*.index
examples/**/*.csv
# examples/**/*.png # as the README.md uses png image files
examples/**/sensor_points.png


27 changes: 27 additions & 0 deletions examples/forward_problems_2d/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Examples of Solving Forward Problems in 2D

This section contains examples of solving forward problems in 2D using the `fastvpinns` package. The examples are organized as follows:

- [Complex Mesh](./complex_mesh)
- [uniform_mesh](./uniform_mesh)
- [hard_boundary_constraints](./hard_boundary_constraints)

## Complex Mesh
---

This section holds the example on how we can solve a forward problem using convection-diffusion equation in 2D using a complex mesh.

## Uniform Grid
---

This section holds the example on how we can solve a forward problem using convection-diffusion equation in 2D using a uniform mesh.
- [Poisson2D](./uniform_mesh/poisson_2d)
- [Helmholtz2D](./uniform_mesh/helmholtz_2d)

## hard_boundary_constraints
---

This section deals with the example on how we can solve a forward problem using Poisson equation in 2D using hard boundary constraints.

- [Poisson2D With Hard Boundary Constraints](./hard_boundary_constraints/poisson_2d)

Loading
Loading