zwicker-group/py-pde

Dirichlet boundary condition for custom grid config

kallegrens opened this issue · 1 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.