Hi all, <br>I was looking at the ex22 of ksp.<br><br>If I call:<br>...<br>ierr = DMMGCreate(PETSC_COMM_WORLD,3,PETSC_NULL,&dmmg);CHKERRQ(ierr);<br>ierr = DACreate3d(PETSC_COMM_WORLD,DA_NONPERIODIC,DA_STENCIL_STAR,-3,-3,-3,PETSC_DECIDE,PETSC_DECIDE,PETSC_DECIDE,1,1,0,0,0,&da);CHKERRQ(ierr); <br>
...<br><br>How many grid pts should I have on the finest level? Is it 27, considering I am set 3 as the global dimension in each direction of the array?<br><br>When I run ex22 with -ksp_view, I saw that on the finest level there are 9 pts on each direction. <br>
<br>Is that because I have 3 level?<br><br>Yan<br> <br>