Re: [petsc-users] Can't figure out why I get inf solutions.

2018-11-12 Thread HeeHo Park via petsc-users
Since I can't send binary files, I hardcoded the values on main.py. You only need main.py file to run the code. Thanks, On Mon, Nov 12, 2018 at 5:17 PM HeeHo Park wrote: > Hi PETSc, > > These Python looks complicated but it really isn't. please run main.py > > I am writ

Re: [petsc-users] subprocess (block) tolerance.

2018-10-04 Thread HeeHo Park
bers in red are not used. > > You could do something like -flow_ksp_type fgmres -flow_sub_ksp_type gmres > -flow_sub_ksp_rtol 1.e-2 but it wouldn't help maters. Likely the current > values are the best. > >Barry > > > > On Oct 4, 2018, at 5:44 PM, HeeHo Park wrote: >

[petsc-users] subprocess (block) tolerance.

2018-10-04 Thread HeeHo Park
Hi, I'm running PFLOTRAN and in PFLOTRAN, we have flow_ and flow_sub_ processes. I was wondering what the red underlined values meant (each block tolerance?) and how to change them (would it affect convergence?). Blue marked bold values are changed from the default values for linear solvers. FLOW

Re: [petsc-users] Fwd: what is the equivalent DMDAVecRestoreArray() function in petsc4py?

2018-02-15 Thread HeeHo Park
you, On Wed, Feb 14, 2018 at 5:57 PM, Matthew Knepley <knep...@gmail.com> wrote: > On Wed, Feb 14, 2018 at 6:05 PM, HeeHo Park <heeho.p...@gmail.com> wrote: > >> I just found a user group on PETSc website. Can someone please answer the >> question below? >

[petsc-users] Fwd: what is the equivalent DMDAVecRestoreArray() function in petsc4py?

2018-02-14 Thread HeeHo Park
I just found a user group on PETSc website. Can someone please answer the question below? Thanks! -- Forwarded message -- From: HeeHo Park <heeho.p...@gmail.com> Date: Wed, Feb 14, 2018 at 5:04 PM Subject: what is the equivalent DMDAVecRestoreArray() function in pe