Lines Matching refs:shellA

910   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()
932 PetscCall(VecCopy(shellA->left, shellB->left)); in MatCopy_Shell()
936 if (shellA->right) { in MatCopy_Shell()
937 if (!shellB->right) PetscCall(VecDuplicate(shellA->right, &shellB->right)); in MatCopy_Shell()
938 PetscCall(VecCopy(shellA->right, shellB->right)); in MatCopy_Shell()
945 if (shellA->axpy) { in MatCopy_Shell()
946 PetscCall(PetscObjectReference((PetscObject)shellA->axpy)); in MatCopy_Shell()
947 shellB->axpy = shellA->axpy; in MatCopy_Shell()
948 shellB->axpy_vscale = shellA->axpy_vscale; in MatCopy_Shell()
949 shellB->axpy_state = shellA->axpy_state; in MatCopy_Shell()
951 if (shellA->zrows) { in MatCopy_Shell()
952 PetscCall(ISDuplicate(shellA->zrows, &shellB->zrows)); in MatCopy_Shell()
953 if (shellA->zcols) PetscCall(ISDuplicate(shellA->zcols, &shellB->zcols)); in MatCopy_Shell()
954 PetscCall(VecDuplicate(shellA->zvals, &shellB->zvals)); in MatCopy_Shell()
955 PetscCall(VecCopy(shellA->zvals, shellB->zvals)); in MatCopy_Shell()
956 PetscCall(VecDuplicate(shellA->zvals_w, &shellB->zvals_w)); in MatCopy_Shell()
957 PetscCall(PetscObjectReference((PetscObject)shellA->zvals_sct_r)); in MatCopy_Shell()
958 PetscCall(PetscObjectReference((PetscObject)shellA->zvals_sct_c)); in MatCopy_Shell()
959 shellB->zvals_sct_r = shellA->zvals_sct_r; in MatCopy_Shell()
960 shellB->zvals_sct_c = shellA->zvals_sct_c; in MatCopy_Shell()
963 matmatA = shellA->matmat; in MatCopy_Shell()