GithubHelp home page GithubHelp logo

hrivas / ddm_rbf Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 37 KB

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

License: GNU General Public License v2.0

Python 100.00%
ddm rbf shur-complement substructuring pde nonacos

ddm_rbf's Introduction

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)

ddm_rbf's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.