David,
I don't think you can do it directly, you need to know how to adjust the
matrix entry and make the entry. The reason is that when you put a value in the
ghost location nothing knows that you have done this and thus nothing has the
information to help with the Jacobian.
Here i
Hello Matt,
I am sorry that I have not replied before now.
I think that the reason you did not understand the question was that the
question was silly but I'll try to explain my thought process anyway.
If you have a periodic boundary condition then when you construct a
matrix to be used by a
On Tue, Feb 18, 2020 at 6:03 AM David Scott wrote:
> Hello,
>
> I wish to solve a channel flow problem with different boundary
> conditions. In the streamwise direction I may have periodic or
> inlet/outlet BCs. I would like to make my code for the two cases as
> similar as possible. If I use DM_
Hello,
I wish to solve a channel flow problem with different boundary
conditions. In the streamwise direction I may have periodic or
inlet/outlet BCs. I would like to make my code for the two cases as
similar as possible. If I use DM_BOUNDARY_PERIODIC then when performing
a linear solve the ghost