Lines Matching refs:isshell
252 PetscBool isshell; in DMShellSetDestroyContext() local
256 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetDestroyContext()
257 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetDestroyContext()
278 PetscBool isshell; in DMShellSetContext() local
282 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetContext()
283 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetContext()
312 PetscBool isshell; in DMShellGetContext() local
316 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetContext()
317 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetContext()
341 PetscBool isshell; in DMShellSetMatrix() local
347 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetMatrix()
348 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetMatrix()
397 PetscBool isshell; in DMShellSetGlobalVector() local
403 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetGlobalVector()
404 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetGlobalVector()
441 PetscBool isshell; in DMShellGetGlobalVector() local
446 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetGlobalVector()
447 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellGetGlobalVector()
489 PetscBool isshell; in DMShellSetLocalVector() local
495 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetLocalVector()
496 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetLocalVector()
712 PetscBool isshell; in DMShellSetCoarsen() local
716 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCoarsen()
717 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCoarsen()
739 PetscBool isshell; in DMShellGetCoarsen() local
743 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetCoarsen()
744 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetCoarsen()
764 PetscBool isshell; in DMShellSetRefine() local
768 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetRefine()
769 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetRefine()
791 PetscBool isshell; in DMShellGetRefine() local
795 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetRefine()
796 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetRefine()
816 PetscBool isshell; in DMShellSetCreateInterpolation() local
820 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateInterpolation()
821 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateInterpolation()
843 PetscBool isshell; in DMShellGetCreateInterpolation() local
847 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetCreateInterpolation()
848 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetCreateInterpolation()
868 PetscBool isshell; in DMShellSetCreateRestriction() local
872 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateRestriction()
873 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateRestriction()
895 PetscBool isshell; in DMShellGetCreateRestriction() local
899 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetCreateRestriction()
900 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetCreateRestriction()
920 PetscBool isshell; in DMShellSetCreateInjection() local
924 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateInjection()
925 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateInjection()
947 PetscBool isshell; in DMShellGetCreateInjection() local
951 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetCreateInjection()
952 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetCreateInjection()
972 PetscBool isshell; in DMShellSetCreateFieldDecomposition() local
976 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateFieldDecomposition()
977 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateFieldDecomposition()
997 PetscBool isshell; in DMShellSetCreateDomainDecomposition() local
1001 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateDomainDecomposition()
1002 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateDomainDecomposition()
1022 PetscBool isshell; in DMShellSetCreateDomainDecompositionScatters() local
1026 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateDomainDecompositionScatters()
1027 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateDomainDecompositionScatters()
1047 PetscBool isshell; in DMShellSetCreateSubDM() local
1051 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellSetCreateSubDM()
1052 if (!isshell) PetscFunctionReturn(PETSC_SUCCESS); in DMShellSetCreateSubDM()
1074 PetscBool isshell; in DMShellGetCreateSubDM() local
1078 PetscCall(PetscObjectTypeCompare((PetscObject)dm, DMSHELL, &isshell)); in DMShellGetCreateSubDM()
1079 …PetscCheck(isshell, PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Can only use with DMSHELL ty… in DMShellGetCreateSubDM()