[petsc-users] a fieldsplit question

2017-06-15 Thread Ju Liu
Hi PETSc team: Suppose I provide three index sets {0}, {1,3}, {2} for PCFieldSplitSetFields to construct a field split PC. Conceputally, the matrix is split into 3x3 blocks. Is it true that the index set {0} always corresponds to the block with index 0? What is the block index for the sets {1,3}?

Re: [petsc-users] [petsc-maint] Create SIMPLE pc for Schur explicitly

2018-03-06 Thread Ju Liu
2018-03-06 14:49 GMT-08:00 Smith, Barry F. : > > > > On Mar 6, 2018, at 4:37 PM, Ju Liu wrote: > > > > > > > > 2018-03-06 14:13 GMT-08:00 Smith, Barry F. : > > > > > > > On Mar 6, 2018, at 4:09 PM, John wrote: > > > &g

[petsc-users] Accessing Vector's ghost values

2012-02-23 Thread Ju LIU
2012/2/23 Bojan Niceno > Hi all, > > I've never used a mailing list before, so I hope this message will reach > PETSc users and experts and someone might be willing to help me. I am also > novice in PETSc. > > I have developed an unstructured finite volume solver on top of PETSc > libraries. In

[petsc-users] how is PETSC_MAX_PATH_LEN defined?

2012-03-01 Thread Ju LIU
Hi: I am reading http://www.mcs.anl.gov/petsc/petsc-current/src/mat/examples/tutorials/ex9.c.html I am curious about the value of PETSC_MAX_PATH_LEN. Thanks, Ju -- next part -- An HTML attachment was scrubbed... URL:

[petsc-users] how is PETSC_MAX_PATH_LEN defined?

2012-03-01 Thread Ju LIU
MAX_PATH_LEN 4096 > #endif > <<<<<<<<<<< > > So usually the value is picked up from system include files via > MAXPATHLEN etc - and if no value is found - it it set as 4096. > > Satish > > On Thu, 1 Mar 2012, Ju LIU wrote: > >