Searched refs:bA (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/impls/nest/ |
| H A D | matnest.c | 15 Mat_Nest *bA = (Mat_Nest *)A->data; in MatNestGetSizes_Private() local 20 for (i = 0; i < bA->nr; i++) { /* rows */ in MatNestGetSizes_Private() 22 PetscCall(ISGetLocalSize(bA->isglobal.row[i], &sm)); in MatNestGetSizes_Private() 23 PetscCall(ISGetSize(bA->isglobal.row[i], &sM)); in MatNestGetSizes_Private() 27 for (j = 0; j < bA->nc; j++) { /* cols */ in MatNestGetSizes_Private() 29 PetscCall(ISGetLocalSize(bA->isglobal.col[j], &sn)); in MatNestGetSizes_Private() 30 PetscCall(ISGetSize(bA->isglobal.col[j], &sN)); in MatNestGetSizes_Private() 40 Mat_Nest *bA = (Mat_Nest *)A->data; in MatMult_Nest() local 41 Vec *bx = bA->right, *by = bA->left; in MatMult_Nest() 42 PetscInt i, j, nr = bA->nr, nc = bA->nc; in MatMult_Nest() [all …]
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex11.c | 77 Mat A, Auu, Aup, Apu, App, bA[2][2]; in LoadTestMatrices() local 110 bA[0][0] = Auu; in LoadTestMatrices() 111 bA[0][1] = Aup; in LoadTestMatrices() 112 bA[1][0] = Apu; in LoadTestMatrices() 113 bA[1][1] = App; in LoadTestMatrices() 114 PetscCall(MatCreateNest(PETSC_COMM_WORLD, 2, bis, 2, bis, &bA[0][0], &A)); in LoadTestMatrices()
|
| /petsc/src/snes/tests/ |
| H A D | ex17.c | 340 Mat bA[2][2]; in block_system() local 404 bA[0][0] = j11; in block_system() 405 bA[0][1] = j12; in block_system() 406 bA[1][0] = j21; in block_system() 407 bA[1][1] = j22; in block_system() 409 PetscCall(MatCreateNest(PETSC_COMM_WORLD, 2, NULL, 2, NULL, &bA[0][0], &J)); in block_system()
|
| /petsc/src/dm/impls/network/ |
| H A D | network.c | 2400 Mat j11, j12, j21, j22, bA[2][2]; in DMCreateMatrix_Network_Nest() local 2426 bA[0][0] = j11; in DMCreateMatrix_Network_Nest() 2427 bA[0][1] = j12; in DMCreateMatrix_Network_Nest() 2428 bA[1][0] = j21; in DMCreateMatrix_Network_Nest() 2429 bA[1][1] = j22; in DMCreateMatrix_Network_Nest() 2444 PetscCall(MatCreateNest(comm, 2, NULL, 2, NULL, &bA[0][0], J)); in DMCreateMatrix_Network_Nest()
|