LadaF / PoisFFT

Free parallel fast Poisson solver. Requires FFTW3 and optionally PFFT.
Other
55 stars 18 forks source link

Dirichlet boundary conditions #5

Closed negf closed 2 years ago

negf commented 6 years ago

Hi,

Is it possible to define the values of phi on the boundary when using Dirichlet boundary conditions ?

best

LadaF commented 6 years ago

Hi. No, unfortunately it is not possible.

2017-11-17 4:53 GMT+01:00 Marius notifications@github.com:

Hi,

Is it possible to define the values of phi on the boundary when using Dirichlet boundary conditions ?

best

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LadaF/PoisFFT/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AAskEXq4mJdbPXN1EENOoA58eYOVAAX8ks5s3QNJgaJpZM4QhgGP .

loujincheng1005 commented 3 years ago

Hi,

This is a follow-up of negf's question. Does this solver only handle homogeneous Dirichlet and Neumann conditions (i. e. phi = 0 and dphi/dn = 0)? Is it possible to implement non-homogeneous boundary conditions?

Thanks

LadaF commented 3 years ago

Helo, this is not possible with the FFT method.

Vladimir

Dne čt 3. 12. 2020 22:19 uživatel loujincheng1005 notifications@github.com napsal:

Hi,

This is a follow-up of negf's question. Do this solver only handle homogeneous Dirichlet and Neumann conditions (i. e. phi = 0 and dphi/dn = 0)? Is it possible to implement non-homogeneous boundary conditions?

Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LadaF/PoisFFT/issues/5#issuecomment-738323908, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFSIEJG2KSNST5UBGS5VELSS76EPANCNFSM4EEGAGHQ .

loujincheng1005 commented 3 years ago

Thank you for letting me know:)