Are you using DMDA or DMPLEX or some other DM? Does the Poisson equation 
change (variable coefficient) or is it a constant coefficient with the same 
values for all solves? ex29.c could still possibly serve as a model for the 
Poisson subproblem, why do you say it is no longer valid?

  Barry


> On Apr 8, 2015, at 10:18 PM, TAY wee-beng <[email protected]> wrote:
> 
> Hi,
> 
> I was following example ex29 in the past to write the code to solve my 
> Poisson eqn using DM. Now it seems that ex29 is no longer valid. Which 
> example should I follow now?
> 
> Also, I am using KSPBCGS to solve my momentum eqn in the past. Do I need to 
> change much if I'm now using DM? If so, what is a good example?
> 
> -- 
> Thank you
> 
> Yours sincerely,
> 
> TAY wee-beng
> 

Reply via email to