Re: [petsc-users] Create a DM given sets of IS's

2019-01-02 Thread Justin Chang via petsc-users
Sorry, I forgot three more lines describing the 3rd level of split: -pc_type fieldsplit -pc_fieldsplit_0_fields 0,1,2 -pc_fieldsplit_1_fields 3,4,5 -pc_fieldsplit_2_fields 6,7,8 -fieldsplit_0_pc_type fieldsplit -fieldsplit_1_pc_type fieldsplit -fieldsplit_2_pc_type fieldsplit -fieldsplit_0_pc_fiel

Re: [petsc-users] Create a DM given sets of IS's

2018-12-31 Thread Matthew Knepley via petsc-users
On Mon, Dec 31, 2018 at 2:40 AM Justin Chang via petsc-users < petsc-users@mcs.anl.gov> wrote: > Hi all, > > I am solving a six field battery problem (concentration and potential for > each of the two solid and one electrolyte domains) and I want to experiment > with nested/recursice fieldsplittin

[petsc-users] Create a DM given sets of IS's

2018-12-30 Thread Justin Chang via petsc-users
Hi all, I am solving a six field battery problem (concentration and potential for each of the two solid and one electrolyte domains) and I want to experiment with nested/recursice fieldsplitting. I have the IS's and am able to use these to define my PCFieldSplitsSetIS(). However, I can imagine thi