Home
last modified time | relevance | path

Searched refs:shellA (Results 1 – 1 of 1) sorted by relevance

/petsc/src/mat/impls/shell/ !
H A Dshell.c910 Mat_Shell *shellA = (Mat_Shell *)A->data, *shellB = (Mat_Shell *)B->data; in MatCopy_Shell() local
919 shellB->ops[0] = shellA->ops[0]; in MatCopy_Shell()
921 if (shellA->ops->copy) PetscCall((*shellA->ops->copy)(A, B, str)); in MatCopy_Shell()
922 shellB->vscale = shellA->vscale; in MatCopy_Shell()
923 shellB->vshift = shellA->vshift; in MatCopy_Shell()
924 if (shellA->dshift) { in MatCopy_Shell()
925 if (!shellB->dshift) PetscCall(VecDuplicate(shellA->dshift, &shellB->dshift)); in MatCopy_Shell()
926 PetscCall(VecCopy(shellA->dshift, shellB->dshift)); in MatCopy_Shell()
930 if (shellA->left) { in MatCopy_Shell()
931 if (!shellB->left) PetscCall(VecDuplicate(shellA->left, &shellB->left)); in MatCopy_Shell()
[all …]