zwicker-group / py-pde

Python package for solving partial differential equations using finite differences.

Home Page:https://py-pde.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dirichlet boundary condition for custom grid config

kallegrens opened this issue · comments

Hello!

I'm a beginner using py-pde. I'm wondering how I can define custom Dirichlet conditions for a grid. Is it possible to pass a numpy array with my config? See the image below for clarity.

Thanks in advance!
Screenshot 2022-11-19 at 20 04 00

I'm not quite sure what you're asking and I don't know how to interpret the graphics. If you're asking whether py-pde supports general geometries and boundaries of arbitrary shape, then I'm afraid I need to disappoint you.