Something like
DMDASetComputeGhostBoundary(DM dm, s(DM,Vec,Vec,void*),d(void*))
where
s(DM dm, Vec g, Vec l, void*ctx) {
User code that fills in appropriate places in l.
d(void* ctx) {
Optional: Destroys optional user context when DM is destroyed.
}
and s() gets called inside of DMGl
On 12/08/2022 18:15, Matthew Knepley wrote:
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that
the email is genuine and the content is safe.
On Fri, Aug 12, 2022 at 9:27 AM David Scott wrote:
On 12/08/2022
> On Aug 12, 2022, at 9:27 AM, David Scott wrote:
>
>
>
> On 12/08/2022 11:26, Matthew Knepley wrote:
>> This email was sent to you by someone outside the University.
>> You should only click on links or attachments if you are certain that the
>> email is genuine and the content is safe.
>>
On Fri, Aug 12, 2022 at 9:27 AM David Scott wrote:
> On 12/08/2022 11:26, Matthew Knepley wrote:
>
> This email was sent to you by someone outside the University.
> You should only click on links or attachments if you are certain that the
> email is genuine and the content is safe.
> On Fri, Aug
On 12/08/2022 11:26, Matthew Knepley wrote:
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email
is genuine and the content is safe.
On Fri, Aug 12, 2022 at 2:21 AM Quynh Nguyen
mailto:nguyenquynh9...@gmai
I got it, thank you so much!
null
On Fri, Aug 12, 2022 at 2:21 AM Quynh Nguyen
wrote:
> Dear petsc developers and users,
>
> I am a new petsc user ^_^.
> I have some questions about using DMDA_BOUNDARY_GHOSTED.
>
> 1. I have 2D Poisson code with domain (nx, ny), and I used
> DMDA_BOUNDARY_NONE, then the size of the matrix is (nx*
Dear petsc developers and users,
I am a new petsc user ^_^.
I have some questions about using DMDA_BOUNDARY_GHOSTED.
1. I have 2D Poisson code with domain (nx, ny), and I used
DMDA_BOUNDARY_NONE, then the size of the matrix is (nx*ny)X(nx*ny). *what
is the size of the matrix if I used DMDA_BOUND