Searched refs:Prol (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | geo.c | 608 Mat Prol, Gmat; in PCGAMGProlongator_GEO() local 645 PetscCall(MatCreate(comm, &Prol)); in PCGAMGProlongator_GEO() 646 PetscCall(MatSetSizes(Prol, nloc * bs, nLocalSelected * bs, PETSC_DETERMINE, PETSC_DETERMINE)); in PCGAMGProlongator_GEO() 647 PetscCall(MatSetBlockSizes(Prol, bs, bs)); in PCGAMGProlongator_GEO() 648 PetscCall(MatSetType(Prol, mtype)); in PCGAMGProlongator_GEO() 649 PetscCall(MatSeqAIJSetPreallocation(Prol, 3 * data_cols, NULL)); in PCGAMGProlongator_GEO() 650 PetscCall(MatMPIAIJSetPreallocation(Prol, 3 * data_cols, NULL, 3 * data_cols, NULL)); in PCGAMGProlongator_GEO() 653 PetscCall(MatGetSize(Prol, &kk, &jj)); in PCGAMGProlongator_GEO() 657 PetscCall(MatDestroy(&Prol)); in PCGAMGProlongator_GEO() 686 …selected_2, data_stride, coords, nLocalSelected, clid_flid, agg_lists, crsGID, bs, Prol, &metric)); in PCGAMGProlongator_GEO() [all …]
|
| H A D | agg.c | 1283 Mat Gmat, Prol; in PCGAMGConstructProlongator_AGG() local 1313 PetscCall(MatCreate(comm, &Prol)); in PCGAMGConstructProlongator_AGG() 1314 …PetscCall(MatSetSizes(Prol, nloc * bs, nLocalSelected * col_bs, PETSC_DETERMINE, PETSC_DETERMINE)); in PCGAMGConstructProlongator_AGG() 1315 PetscCall(MatSetBlockSizes(Prol, bs, col_bs)); // should this be before MatSetSizes? in PCGAMGConstructProlongator_AGG() 1316 PetscCall(MatSetType(Prol, mtype)); in PCGAMGConstructProlongator_AGG() 1320 PetscCall(MatBindToCPU(Prol, flg)); in PCGAMGConstructProlongator_AGG() 1321 if (flg) PetscCall(MatSetBindingPropagates(Prol, PETSC_TRUE)); in PCGAMGConstructProlongator_AGG() 1323 PetscCall(MatSeqAIJSetPreallocation(Prol, col_bs, NULL)); in PCGAMGConstructProlongator_AGG() 1324 PetscCall(MatMPIAIJSetPreallocation(Prol, col_bs, NULL, col_bs, NULL)); in PCGAMGConstructProlongator_AGG() 1327 PetscCall(MatGetSize(Prol, &kk, &ii)); in PCGAMGConstructProlongator_AGG() [all …]
|
| H A D | gamg.c | 674 Mat Prol; in PCSetUp_GAMG() local 683 PetscCall(MatCreate(PetscObjectComm((PetscObject)pc), &Prol)); in PCSetUp_GAMG() 684 PetscCall(MatSetBlockSizes(Prol, bs, pc_gamg->injection_index_size)); in PCSetUp_GAMG() 685 PetscCall(MatSetSizes(Prol, prol_m, prol_n, M, Prol_N)); in PCSetUp_GAMG() 686 PetscCall(MatSetType(Prol, mtype)); in PCSetUp_GAMG() 690 PetscCall(MatBindToCPU(Prol, flg)); in PCSetUp_GAMG() 691 if (flg) PetscCall(MatSetBindingPropagates(Prol, PETSC_TRUE)); in PCSetUp_GAMG() 693 PetscCall(MatSeqAIJSetPreallocation(Prol, 1, NULL)); in PCSetUp_GAMG() 694 PetscCall(MatMPIAIJSetPreallocation(Prol, 1, NULL, 0, NULL)); in PCSetUp_GAMG() 700 PetscCall(MatSetValues(Prol, 1, &row, 1, &col, &one, INSERT_VALUES)); in PCSetUp_GAMG() [all …]
|