Searched refs:dshift (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/mat/impls/shell/ |
| H A D | shell.c | 109 PetscCall(VecRestoreArrayRead(shell->dshift, &d)); in MatShellPreScaleLeft() 166 PetscCall(VecRestoreArrayRead(shell->dshift, &d)); in MatShellPostScaleRight() 187 if (shell->dshift) { /* get arrays because there is no VecPointwiseMultAdd() */ in MatShellShiftAndScale() 192 PetscCall(VecGetArrayRead(shell->dshift, &d)); in MatShellShiftAndScale() 199 PetscCall(VecRestoreArrayRead(shell->dshift, &d)); in MatShellShiftAndScale() 445 PetscCall(VecDestroy(&shell->dshift)); in MatDestroy_Shell() 591 if (shell->dshift || shell->vshift != 0.0) { in MatProductNumeric_Shell_X() 593 if (shell->dshift) { in MatProductNumeric_Shell_X() 594 PetscCall(VecCopy(shell->dshift, shell->left_work)); in MatProductNumeric_Shell_X() 619 if (shell->dshift || shell->vshift != 0.0) { in MatProductNumeric_Shell_X() [all …]
|
| H A D | shell.h | 36 Vec dshift; member
|
| /petsc/src/mat/impls/normal/ |
| H A D | normmh.c | 208 Vec left, right, dshift; in MatConvert_NormalHermitian_AIJ() local 214 …PetscCall(MatShellGetScalingShifts(A, &shift, &scale, &dshift, &left, &right, (Mat *)MAT_SHELL_NOT… in MatConvert_NormalHermitian_AIJ() 240 if (dshift) PetscCall(MatDiagonalSet(*newmat, dshift, ADD_VALUES)); in MatConvert_NormalHermitian_AIJ()
|
| H A D | normm.c | 224 Vec left, right, dshift; in MatConvert_Normal_AIJ() local 230 …PetscCall(MatShellGetScalingShifts(A, &shift, &scale, &dshift, &left, &right, (Mat *)MAT_SHELL_NOT… in MatConvert_Normal_AIJ() 250 if (dshift) PetscCall(MatDiagonalSet(*newmat, dshift, ADD_VALUES)); in MatConvert_Normal_AIJ()
|
| /petsc/src/mat/impls/composite/ |
| H A D | mcomposite.c | 657 Vec left, right, dshift; in MatCompositeMerge_Composite() local 666 …PetscCall(MatShellGetScalingShifts(mat, &shift, &scale, &dshift, &left, &right, (Mat *)MAT_SHELL_N… in MatCompositeMerge_Composite() 702 if (dshift) PetscCall(PetscObjectReference((PetscObject)dshift)); in MatCompositeMerge_Composite() 711 if (dshift) { in MatCompositeMerge_Composite() 712 PetscCall(MatDiagonalSet(mat, dshift, ADD_VALUES)); in MatCompositeMerge_Composite() 713 PetscCall(VecDestroy(&dshift)); in MatCompositeMerge_Composite()
|
| /petsc/src/mat/impls/nest/ |
| H A D | matnest.c | 2055 …((Mat_Shell *)B->data)->left && !((Mat_Shell *)B->data)->right && !((Mat_Shell *)B->data)->dshift); in MatConvert_Nest_AIJ()
|