Re: [petsc-users] MatZeroRowsColumnsLocal for MatNest

2018-02-04 Thread Garth N. Wells
f specifying everything in terms of local indices, though it > could be implemented. > > "Garth N. Wells" <gn...@cam.ac.uk> writes: > > > Should MatZeroRowsColumnsLocal work for matrices of type MATNEST? > > > > Garth >

[petsc-users] MatZeroRowsColumnsLocal for MatNest

2018-02-04 Thread Garth N. Wells
Should MatZeroRowsColumnsLocal work for matrices of type MATNEST? Garth

Re: [petsc-users] Multigrid coarse grid solver

2017-04-27 Thread Garth N. Wells
0 > [0]PETSC ERROR: ./ex56 on a arch-macosx-gnu-g named MarksMac-5.local by > markadams Wed Apr 26 17:46:28 2017 > [0]PETSC ERROR: Configure options --with-cc=clang --with-cc++=clang++ > COPTFLAGS="-g -O0 -mavx2" CXXOPTFLAGS="-g -O0 -mavx2" F > > > On Thu, A

Re: [petsc-users] Multigrid coarse grid solver

2017-04-26 Thread Garth N. Wells
hase of > the communication for each V cycle since every process has the entire > solution it just grabs from itself the values it needs without communication. > > > > >> On Apr 26, 2017, at 5:25 PM, Garth N. Wells <gn...@cam.ac.uk> wrote: >> >> I'm a bit c

Re: [petsc-users] petsc4py bool type

2017-04-26 Thread Garth N. Wells
On 26 April 2017 at 09:06, Lisandro Dalcin <dalc...@gmail.com> wrote: > On 25 April 2017 at 19:48, Garth N. Wells <gn...@cam.ac.uk> wrote: >> I'm seeing some behaviour with bool types in petsc4py that I didn't >> expect. In the Python interface, returned Booleans ha

[petsc-users] petsc4py bool type

2017-04-25 Thread Garth N. Wells
I'm seeing some behaviour with bool types in petsc4py that I didn't expect. In the Python interface, returned Booleans have type '', where I expected them to have type ' '. Below program illustrates issue. Seems to be related to bint in cython. Am I doing something wrong? Garth from petsc4py

Re: [petsc-users] Parameter to pick KSP for estimating eigenvalues for Chebyshev

2015-06-17 Thread Garth N. Wells
to the patched version of PETSc. Will the patch find its way into the dev version? Garth Barry On Jun 17, 2015, at 12:59 PM, Garth N. Wells gn...@cam.ac.uk wrote: On 17 June 2015 at 15:43, Barry Smith bsm...@mcs.anl.gov wrote: I introduced a bug in my cleanup. The kspest eigenestimator

Re: [petsc-users] Parameter to pick KSP for estimating eigenvalues for Chebyshev

2015-06-17 Thread Garth N. Wells
me know how it goes. I've applied the patch, but I still can't change the Krylov method for estimating the eigenvalues. Garth Barry On Jun 17, 2015, at 6:24 AM, Garth N. Wells gn...@cam.ac.uk wrote: It used to be possible to pick the Krylov solver used to estimate the eigenvalues

[petsc-users] Parameter to pick KSP for estimating eigenvalues for Chebyshev

2015-06-17 Thread Garth N. Wells
It used to be possible to pick the Krylov solver used to estimate the eigenvalues for Chebyshev, via the parameter system (mg_levels_est_ksp_type and gamg_est_ksp_type). I know there was some clean-up, with the parameters becoming mg_levels_ksp_chebyshev_esteig_foo, but an option to pick the

[petsc-users] VecGhostGetLocalForm overhead?

2014-04-29 Thread Garth N. Wells
I’m using VecGhostGetLocalForm to test whether or not a vector has ghost values. Is there any overhead associated with calling VecGhostGetLocalForm that I should be concerned about? Garth

[petsc-users] Command line option to set number iterations for Chebyshev eigenvalue estimation?

2014-01-23 Thread Garth N. Wells
Is there are command line option to set the number of iterations used for the eigenvalue estimation inside the Chebyshev preconditioner? -gamg_est_ksp_max_it does the trick with GAMG, but I'd also like to change the number of iterations when using Chebyshev smoothing with ML. Garth

Re: [petsc-users] Command line option to set number iterations for Chebyshev eigenvalue estimation?

2014-01-23 Thread Garth N. Wells
On 2014-01-23 14:32, Matthew Knepley wrote: On Thu, Jan 23, 2014 at 5:35 AM, Garth N. Wells gn...@cam.ac.uk wrote: Is there are command line option to set the number of iterations used for the eigenvalue estimation inside the Chebyshev preconditioner?  -gamg_est_ksp_max_it does the trick

Re: [petsc-users] Command line option to set number iterations for Chebyshev eigenvalue estimation?

2014-01-23 Thread Garth N. Wells
was looking for and I can confirm that they work as expected. It would be helpful is last two options could be (easily) found in the docs - I couldn't find them. Garth Cheers,   Dave On 23 January 2014 15:49, Garth N. Wells gn...@cam.ac.uk wrote: On 2014-01-23 14:32, Matthew Knepley wrote

Re: [petsc-users] Attach approximate null space to a fieldsplit block

2013-08-20 Thread Garth N. Wells
On 19 August 2013 14:03, Matthew Knepley knep...@gmail.com wrote: On Mon, Aug 19, 2013 at 7:40 AM, Jed Brown jedbr...@mcs.anl.gov wrote: Garth N. Wells gn...@cam.ac.uk writes: I'm using PCFIELDSPLIT for a mixed problem, with fields indicated via an index set (using PCFieldSplitSetIS). I'd

Re: [petsc-users] Attach approximate null space to a fieldsplit block

2013-08-20 Thread Garth N. Wells
On 20 August 2013 19:14, Matthew Knepley knep...@gmail.com wrote: On Tue, Aug 20, 2013 at 12:50 PM, Garth N. Wells gn...@cam.ac.uk wrote: On 19 August 2013 14:03, Matthew Knepley knep...@gmail.com wrote: On Mon, Aug 19, 2013 at 7:40 AM, Jed Brown jedbr...@mcs.anl.gov wrote: Garth N. Wells

[petsc-users] Attach approximate null space to a fieldsplit block

2013-08-19 Thread Garth N. Wells
I'm using PCFIELDSPLIT for a mixed problem, with fields indicated via an index set (using PCFieldSplitSetIS). I'd like to attach an approximate null space to the A00 block of the system. Is there a way to attach the null space to one block? Garth