Searched refs:elem_mat (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 63 Mat elem_mat; member 341 PetscCall(MatGetSize(glldata.elem_mat, &i, &j)); in ComputeSubdomainMatrix() 361 …PetscCall(MatCreateSubMatrix(glldata.elem_mat, submatIS, submatIS, MAT_INITIAL_MATRIX, &elem_mat_D… in ComputeSubdomainMatrix() 403 usedmat = &glldata.elem_mat; in ComputeSubdomainMatrix() 410 usedmat = &glldata.elem_mat; in ComputeSubdomainMatrix() 576 PetscCall(MatCreate(PETSC_COMM_SELF, &glldata->elem_mat)); in GLLStuffs() 577 PetscCall(MatSetSizes(glldata->elem_mat, xyzloc, xyzloc, xyzloc, xyzloc)); in GLLStuffs() 578 PetscCall(MatSetType(glldata->elem_mat, MATSEQAIJ)); in GLLStuffs() 579 PetscCall(MatSeqAIJSetPreallocation(glldata->elem_mat, xyzloc, NULL)); /* overestimated */ in GLLStuffs() 580 PetscCall(MatZeroEntries(glldata->elem_mat)); in GLLStuffs() [all …]
|