Lines Matching refs:layout
164 PetscLayout layout; in PCMPISetMat() local
207 PetscCall(PetscLayoutCreate(comm, &layout)); in PCMPISetMat()
208 PetscCall(PetscLayoutSetBlockSize(layout, matproperties[2])); in PCMPISetMat()
209 PetscCall(PetscLayoutSetSize(layout, matproperties[1])); in PCMPISetMat()
210 PetscCall(PetscLayoutSetUp(layout)); in PCMPISetMat()
211 PetscCall(PetscLayoutGetLocalSize(layout, &n)); in PCMPISetMat()
212 PetscCall(PetscLayoutDestroy(&layout)); in PCMPISetMat()
215 PetscCall(PetscLayoutCreate(comm, &layout)); in PCMPISetMat()
216 PetscCall(PetscLayoutSetBlockSize(layout, matproperties[2])); in PCMPISetMat()
217 PetscCall(PetscLayoutSetSize(layout, matproperties[0])); in PCMPISetMat()
218 PetscCall(PetscLayoutSetUp(layout)); in PCMPISetMat()
219 PetscCall(PetscLayoutGetLocalSize(layout, &m)); in PCMPISetMat()
220 PetscCall(PetscLayoutGetRange(layout, &rstart, &rend)); in PCMPISetMat()
229 PetscCall(PetscLayoutGetRanges(layout, &range)); in PCMPISetMat()
243 PetscCall(PetscLayoutDestroy(&layout)); in PCMPISetMat()