Skip to content
/ DDM_RBF Public

Solution of the Laplace equation in 2D using Domain Decomposition Method and Radial Basis Functions

License

Notifications You must be signed in to change notification settings

HRivas/DDM_RBF

Repository files navigation

Domain Decomposition Method using Shur Complement and Radial Basis Function

This program solves the Laplace's equation in a C-shape domain. The substructuring method of Shur Complement and Radial Basis Function to solve the PDE. The domain was divided in two subdomains.

The main program is rbfddm.py, it is implemented in python 3. One can change the number of nodes by modifying the L and H variables, L should be a multiple of two and H a mulitple of three.

A parallelized version is found in rbfddm_parallel.py. To execute this code you should have installed MPI and run in a terminal:

mpiexec -np 3 python3 rbfddm_parallel.py

Results.py file shows a graph of the average (10 executions for each number of nodes) elapsed time taken to solve the associated linear system by:

  • Complete Matrix
  • Shur Complement (Block-Gauss Elimination Algorithm)
  • Parallelized Shur Complement (Block-Gauss Elimination Algorithm)

About

Solution of the Laplace equation in 2D using Domain Decomposition Method and Radial Basis Functions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages