| /petsc/src/binding/petsc4py/src/lib-petsc/compat/ |
| H A D | mpi.h | 108 int mode = RTLD_NOW | RTLD_GLOBAL; in OPENMPI_dlopen_libmpi() local 112 mode |= RTLD_NOLOAD; in OPENMPI_dlopen_libmpi() 116 if (!handle) handle = dlopen("libmpi.40.dylib", mode); in OPENMPI_dlopen_libmpi() 118 if (!handle) handle = dlopen("libmpi.20.dylib", mode); in OPENMPI_dlopen_libmpi() 120 if (!handle) handle = dlopen("libmpi.12.dylib", mode); in OPENMPI_dlopen_libmpi() 122 if (!handle) handle = dlopen("libmpi.1.dylib", mode); in OPENMPI_dlopen_libmpi() 124 if (!handle) handle = dlopen("libmpi.0.dylib", mode); in OPENMPI_dlopen_libmpi() 127 if (!handle) handle = dlopen("libmpi.dylib", mode); in OPENMPI_dlopen_libmpi() 131 mode |= RTLD_NOLOAD; in OPENMPI_dlopen_libmpi() 135 if (!handle) handle = dlopen("libmpi_ibm.so.2", mode); in OPENMPI_dlopen_libmpi() [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdef.pxi | 41 cdef inline PetscInsertMode insertmode(object mode) \ argument 43 if mode is None: return PETSC_INSERT_VALUES 44 elif mode is True: return PETSC_ADD_VALUES 45 elif mode is False: return PETSC_INSERT_VALUES 46 else: return mode 48 cdef inline PetscScatterMode scattermode(object mode) \ argument 50 if mode is None: return PETSC_SCATTER_FORWARD 51 if mode is False: return PETSC_SCATTER_FORWARD 52 if mode is True: return PETSC_SCATTER_REVERSE 53 if isinstance(mode, str): [all …]
|
| H A D | petscvwr.pxi | 150 cdef inline PetscFileMode filemode(object mode) except <PetscFileMode>(-1): argument 151 if mode is None: 153 if isinstance(mode, str): 154 if mode == 'r' : return PETSC_FILE_MODE_READ 155 elif mode == 'w' : return PETSC_FILE_MODE_WRITE 156 elif mode == 'a' : return PETSC_FILE_MODE_APPEND 157 elif mode == 'r+' : return PETSC_FILE_MODE_UPDATE 158 elif mode == 'w+' : return PETSC_FILE_MODE_UPDATE 159 elif mode == 'a+' : return PETSC_FILE_MODE_APPEND_UPDATE 160 elif mode == 'u' : return PETSC_FILE_MODE_UPDATE [all …]
|
| /petsc/src/sys/objects/device/tests/output/ |
| H A D | ex7_with_info_hip.out | 3 …bal root) - obj 58 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 5 …bal root) - obj 58 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 8 …bal root) - obj 63 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 10 …bal root) - obj 64 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 12 …bal root) - obj 65 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 14 …bal root) - obj 66 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 16 …bal root) - obj 67 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 18 …bal root) - obj 63 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 21 …bal root) - obj 64 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 24 …bal root) - obj 65 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… [all …]
|
| H A D | ex7_with_info_cuda.out | 3 …bal root) - obj 58 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 5 …bal root) - obj 58 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 8 …bal root) - obj 63 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 10 …bal root) - obj 64 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 12 …bal root) - obj 65 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 14 …bal root) - obj 66 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 16 …bal root) - obj 67 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 18 …bal root) - obj 63 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 21 …bal root) - obj 64 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 24 …bal root) - obj 65 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… [all …]
|
| H A D | ex7_with_info_sycl.out | 3 …obal root) - obj 8 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 5 …obal root) - obj 8 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 8 …bal root) - obj 12 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 10 …bal root) - obj 13 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 12 …bal root) - obj 14 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 14 …bal root) - obj 15 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 16 …bal root) - obj 16 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 18 …bal root) - obj 12 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 21 …bal root) - obj 13 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 24 …bal root) - obj 14 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… [all …]
|
| H A D | ex7_with_info_host_no_device.out | 3 …bal root) - obj 56 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 5 …bal root) - obj 56 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 8 …bal root) - obj 60 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 10 …bal root) - obj 61 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 12 …bal root) - obj 62 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 14 …bal root) - obj 63 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 16 …bal root) - obj 64 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 18 …bal root) - obj 60 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 21 …bal root) - obj 61 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 24 …bal root) - obj 62 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… [all …]
|
| H A D | ex7_with_info_host_with_device.out | 3 …bal root) - obj 56 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 5 …bal root) - obj 56 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 8 …bal root) - obj 60 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 10 …bal root) - obj 61 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 12 …bal root) - obj 62 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 14 …bal root) - obj 63 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 16 …bal root) - obj 64 (memory allocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with d… 18 …bal root) - obj 60 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 21 …bal root) - obj 61 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… 24 …bal root) - obj 62 (memory deallocation): new mode (PETSC_MEMORY_ACCESS_WRITE) NOT COMPATIBLE with… [all …]
|
| /petsc/src/ts/tutorials/hybrid/output/ |
| H A D | ex1fd_1.out | 1 Change from mode 1 to 2 at t = 0.095845 2 Change from mode 2 to 1 at t = 0.114916 3 Change from mode 1 to 2 at t = 0.095845 4 Change from mode 2 to 1 at t = 0.114916 6 Change from mode 1 to 2 at t = 0.095845 7 Change from mode 2 to 1 at t = 0.114916 9 Change from mode 1 to 2 at t = 0.095845 10 Change from mode 2 to 1 at t = 0.114916
|
| /petsc/src/dm/impls/da/ |
| H A D | dagtol.c | 7 PetscErrorCode DMGlobalToLocalBegin_DA(DM da, Vec g, InsertMode mode, Vec l) in DMGlobalToLocalBegin_DA() argument 15 PetscCall(VecScatterBegin(dd->gtol, g, l, mode, SCATTER_FORWARD)); in DMGlobalToLocalBegin_DA() 19 PetscErrorCode DMGlobalToLocalEnd_DA(DM da, Vec g, InsertMode mode, Vec l) in DMGlobalToLocalEnd_DA() argument 27 PetscCall(VecScatterEnd(dd->gtol, g, l, mode, SCATTER_FORWARD)); in DMGlobalToLocalEnd_DA() 31 PetscErrorCode DMLocalToGlobalBegin_DA(DM da, Vec l, InsertMode mode, Vec g) in DMLocalToGlobalBegin_DA() argument 39 if (mode == ADD_VALUES) { in DMLocalToGlobalBegin_DA() 41 } else if (mode == INSERT_VALUES) { in DMLocalToGlobalBegin_DA() 50 PetscErrorCode DMLocalToGlobalEnd_DA(DM da, Vec l, InsertMode mode, Vec g) in DMLocalToGlobalEnd_DA() argument 58 if (mode == ADD_VALUES) { in DMLocalToGlobalEnd_DA() 60 } else if (mode == INSERT_VALUES) { in DMLocalToGlobalEnd_DA() [all …]
|
| /petsc/src/ksp/ksp/utils/lmvm/brdn/ |
| H A D | badbrdn.c | 60 static PetscErrorCode BadBroydenKernel_Recursive_Inner(Mat B, MatLMVMMode mode, PetscInt oldest, Pe… in BadBroydenKernel_Recursive_Inner() argument 64 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in BadBroydenKernel_Recursive_Inner() 65 LMBasis Y_minus_BkS = lbrdn->basis[LMVMModeMap(BROYDEN_BASIS_Y_MINUS_BKS, mode)]; in BadBroydenKernel_Recursive_Inner() 67 LMProducts YtBkS = lbrdn->products[LMVMModeMap(BROYDEN_PRODUCTS_YTBKS, mode)]; in BadBroydenKernel_Recursive_Inner() 92 static PetscErrorCode BadBroydenRecursiveBasisUpdate(Mat B, MatLMVMMode mode) in BadBroydenRecursiveBasisUpdate() argument 96 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in BadBroydenRecursiveBasisUpdate() 97 MatLMVMBasisType B0S_t = LMVMModeMap(LMBASIS_B0S, mode); in BadBroydenRecursiveBasisUpdate() 100 BroydenBasisType Y_minus_BkS_t = LMVMModeMap(BROYDEN_BASIS_Y_MINUS_BKS, mode); in BadBroydenRecursiveBasisUpdate() 101 BroydenProductsType YtBkS_t = LMVMModeMap(BROYDEN_PRODUCTS_YTBKS, mode); in BadBroydenRecursiveBasisUpdate() 136 if (j > oldest) PetscCall(BadBroydenKernel_Recursive_Inner(B, mode, oldest, j, p_j)); in BadBroydenRecursiveBasisUpdate() [all …]
|
| H A D | brdn.c | 47 PETSC_INTERN PetscErrorCode BroydenKernel_Recursive(Mat B, MatLMVMMode mode, Vec X, Vec BX) in BroydenKernel_Recursive() argument 51 MatLMVMBasisType S_t = LMVMModeMap(LMBASIS_S, mode); in BroydenKernel_Recursive() 52 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in BroydenKernel_Recursive() 88 PetscCall(MatLMVMApplyJ0Mode(mode)(B, G, W)); in BroydenKernel_Recursive() 107 PETSC_INTERN PetscErrorCode BroydenKernelHermitianTranspose_Recursive(Mat B, MatLMVMMode mode, Vec … in BroydenKernelHermitianTranspose_Recursive() argument 112 PetscCall(MatLMVMApplyJ0HermitianTransposeMode(mode)(B, X, BHX)); in BroydenKernelHermitianTranspose_Recursive() 115 MatLMVMBasisType S_t = LMVMModeMap(LMBASIS_S, mode); in BroydenKernelHermitianTranspose_Recursive() 116 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in BroydenKernelHermitianTranspose_Recursive() 153 PETSC_INTERN PetscErrorCode BroydenKernel_CompactDense(Mat B, MatLMVMMode mode, Vec X, Vec BX) in BroydenKernel_CompactDense() argument 158 PetscCall(MatLMVMApplyJ0Mode(mode)(B, X, BX)); in BroydenKernel_CompactDense() [all …]
|
| /petsc/src/ksp/ksp/utils/lmvm/ |
| H A D | lmvm.h | 34 #define MatLMVMResetClearsBases(mode) ((mode) & MAT_LMVM_RESET_BASES) argument 35 #define MatLMVMResetClearsJ0(mode) ((mode) & MAT_LMVM_RESET_J0) argument 36 #define MatLMVMResetClearsVecs(mode) ((mode) & MAT_LMVM_RESET_VECS) argument 37 #define MatLMVMResetClearsAll(mode) ((mode) == MAT_LMVM_RESET_ALL) argument 77 #define LMVMModeMap(a, mode) ((a) ^ (PetscInt)(mode)) argument 78 #define MatLMVMApplyJ0Mode(mode) ((mode) == MATLMVM_MODE_PRIMAL ? MatLMVMApplyJ0F… argument 79 #define MatLMVMApplyJ0HermitianTransposeMode(mode) ((mode) == MATLMVM_MODE_PRIMAL ? MatLMVMApplyJ0H… argument
|
| /petsc/src/sys/fileio/ |
| H A D | ftest.c | 24 static PetscErrorCode PetscTestOwnership(const char fname[], char mode, uid_t fuid, gid_t fgid, int… in PetscTestOwnership() argument 29 if (mode == 'r') m = R_OK; in PetscTestOwnership() 30 else if (mode == 'w') m = W_OK; in PetscTestOwnership() 31 else if (mode == 'x') m = X_OK; in PetscTestOwnership() 50 static PetscErrorCode PetscTestOwnership(const char fname[], char mode, uid_t fuid, gid_t fgid, int… in PetscTestOwnership() argument 101 if (mode == 'r') { in PetscTestOwnership() 103 } else if (mode == 'w') { in PetscTestOwnership() 105 } else if (mode == 'x') { in PetscTestOwnership() 161 PetscErrorCode PetscTestFile(const char fname[], char mode, PetscBool *flg) in PetscTestFile() argument 177 if (mode == '\0') { in PetscTestFile() [all …]
|
| /petsc/src/ksp/ksp/utils/lmvm/bfgs/ |
| H A D | bfgs.c | 15 static PetscErrorCode BFGSKernel_Recursive_Inner(Mat B, MatLMVMMode mode, PetscInt oldest, PetscInt… in BFGSKernel_Recursive_Inner() argument 19 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in BFGSKernel_Recursive_Inner() 20 LMBasis BkS = lsb->basis[LMVMModeMap(SYMBROYDEN_BASIS_BKS, mode)]; in BFGSKernel_Recursive_Inner() 22 LMProducts StBkS = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_STBKS, mode)]; in BFGSKernel_Recursive_Inner() 45 static PetscErrorCode BFGSRecursiveBasisUpdate(Mat B, MatLMVMMode mode) in BFGSRecursiveBasisUpdate() argument 49 MatLMVMBasisType S_t = LMVMModeMap(LMBASIS_S, mode); in BFGSRecursiveBasisUpdate() 50 MatLMVMBasisType B0S_t = LMVMModeMap(LMBASIS_B0S, mode); in BFGSRecursiveBasisUpdate() 51 SymBroydenProductsType StBkS_t = LMVMModeMap(SYMBROYDEN_PRODUCTS_STBKS, mode); in BFGSRecursiveBasisUpdate() 52 SymBroydenBasisType BkS_t = LMVMModeMap(SYMBROYDEN_BASIS_BKS, mode); in BFGSRecursiveBasisUpdate() 89 if (j > oldest) PetscCall(BFGSKernel_Recursive_Inner(B, mode, oldest, j, s_j, p_j)); in BFGSRecursiveBasisUpdate() [all …]
|
| /petsc/src/sys/dll/ |
| H A D | demangle.c | 36 int mode = 0; in PetscDemangleSymbol() local 39 mode |= RTLD_LAZY; in PetscDemangleSymbol() 42 mode |= RTLD_LOCAL; in PetscDemangleSymbol() 45 mode |= RTLD_NOLOAD; in PetscDemangleSymbol() 48 if (!handle) handle = dlopen("libc++.1.dylib", mode); in PetscDemangleSymbol() 50 if (!handle) handle = dlopen("libstdc++.so.6", mode); in PetscDemangleSymbol()
|
| /petsc/src/ksp/ksp/utils/lmvm/sr1/ |
| H A D | sr1.c | 45 static PetscErrorCode SR1Kernel_Recursive_Inner(Mat B, MatLMVMMode mode, PetscInt oldest, PetscInt … in SR1Kernel_Recursive_Inner() argument 49 SR1BasisType Y_minus_BkS_t = LMVMModeMap(SR1_BASIS_Y_MINUS_BKS, mode); in SR1Kernel_Recursive_Inner() 50 SR1ProductsType YtS_minus_StBkS_t = LMVMModeMap(SR1_PRODUCTS_STY_MINUS_YTHKY, mode); in SR1Kernel_Recursive_Inner() 66 static PetscErrorCode SR1RecursiveBasisUpdate(Mat B, MatLMVMMode mode) in SR1RecursiveBasisUpdate() argument 70 MatLMVMBasisType B0S_t = LMVMModeMap(LMBASIS_B0S, mode); in SR1RecursiveBasisUpdate() 71 MatLMVMBasisType S_t = LMVMModeMap(LMBASIS_S, mode); in SR1RecursiveBasisUpdate() 72 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in SR1RecursiveBasisUpdate() 73 SR1BasisType Y_minus_BkS_t = LMVMModeMap(SR1_BASIS_Y_MINUS_BKS, mode); in SR1RecursiveBasisUpdate() 74 SR1ProductsType YtS_minus_StBkS_t = LMVMModeMap(SR1_PRODUCTS_STY_MINUS_YTHKY, mode); in SR1RecursiveBasisUpdate() 83 …if (!lsr1->basis[Y_minus_BkS_t]) PetscCall(LMBasisCreate(mode == MATLMVM_MODE_PRIMAL ? lmvm->Fprev… in SR1RecursiveBasisUpdate() [all …]
|
| /petsc/src/ts/tutorials/hybrid/ |
| H A D | ex1.c | 23 PetscInt mode; /* mode flag*/ member 33 if (actx->mode == 1) { in EventFunction() 35 } else if (actx->mode == 2) { in EventFunction() 47 if (actx->mode == 1) { in PostEventFunction() 48 actx->mode = 2; in PostEventFunction() 50 } else if (actx->mode == 2) { in PostEventFunction() 51 actx->mode = 1; in PostEventFunction() 72 if (actx->mode == 1) { in IFunction() 75 } else if (actx->mode == 2) { in IFunction() 100 if (actx->mode == 1) { in IJacobian() [all …]
|
| H A D | ex1fd.c | 23 PetscInt mode; /* mode flag*/ member 35 if (actx->mode == 1) { in EventFunction() 37 } else if (actx->mode == 2) { in EventFunction() 56 if (actx->mode == 2) { in ShiftGradients() 107 if (actx->mode == 1) { in PostEventFunction() 108 actx->mode = 2; in PostEventFunction() 110 } else if (actx->mode == 2) { in PostEventFunction() 111 actx->mode = 1; in PostEventFunction() 132 if (actx->mode == 1) { in IFunction() 135 } else if (actx->mode == 2) { in IFunction() [all …]
|
| H A D | ex1fwd.c | 25 PetscInt mode; /* mode flag*/ member 57 if (actx->mode == 1) { in EventFunction() 59 } else if (actx->mode == 2) { in EventFunction() 78 if (actx->mode == 1) { in ShiftGradients() 130 if (actx->mode == 1) { in PostEventFunction() 131 actx->mode = 2; in PostEventFunction() 133 } else if (actx->mode == 2) { in PostEventFunction() 134 actx->mode = 1; in PostEventFunction() 155 if (actx->mode == 1) { in IFunction() 158 } else if (actx->mode == 2) { in IFunction() [all …]
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 254 PetscMemoryAccessMode mode{PETSC_MEMORY_ACCESS_READ}; member 372 (*modes)[i] = it.second.mode; in PetscGetMarkedObjectMap_Internal() 431 const auto mode = PetscMemoryAccessModeToString(mapit->second.mode); in PetscDeviceContextSyncClearMap_Internal() local 435 oss << "[dctx " << it->dctx_id() << ", " << mode << ' ' << it->frame() << ']'; in PetscDeviceContextSyncClearMap_Internal() 483 …pit->first << "), intent " << PetscMemoryAccessModeToString(mapit->second.mode) << ' ' << it->fram… in PetscDeviceContextCheckNotOrphaned_Internal() 500 …&marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, PetscStackFrame<us… in MarkFromID_CompatibleModes() argument 508 …tscMemoryAccessModeToString(mode), object_dependencies.empty() ? "default" : "old", PetscMemoryAcc… in MarkFromID_CompatibleModes() 509 (void)mode; in MarkFromID_CompatibleModes() 529 …&marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryAccessMode mode, PetscStackFrame<us… in MarkFromID_IncompatibleModes_UpdateLastWrite() argument 540 …UG_INFO("moving last write dependency (intent %s)\n", PetscMemoryAccessModeToString(marked.mode))); in MarkFromID_IncompatibleModes_UpdateLastWrite() [all …]
|
| /petsc/src/dm/impls/shell/ftn-custom/ |
| H A D | zdmshellf.c | 55 static PetscErrorCode ourglobaltolocalbegin(DM dm, Vec g, InsertMode mode, Vec l) in ourglobaltolocalbegin() argument 57 …altolocalbegin, (DM *, Vec *, InsertMode *, Vec *, PetscErrorCode *), (&dm, &g, &mode, &l, &ierr)); in ourglobaltolocalbegin() 60 static PetscErrorCode ourglobaltolocalend(DM dm, Vec g, InsertMode mode, Vec l) in ourglobaltolocalend() argument 62 …obaltolocalend, (DM *, Vec *, InsertMode *, Vec *, PetscErrorCode *), (&dm, &g, &mode, &l, &ierr)); in ourglobaltolocalend() 65 static PetscErrorCode ourlocaltoglobalbegin(DM dm, Vec l, InsertMode mode, Vec g) in ourlocaltoglobalbegin() argument 67 …ltoglobalbegin, (DM *, Vec *, InsertMode *, Vec *, PetscErrorCode *), (&dm, &l, &mode, &g, &ierr)); in ourlocaltoglobalbegin() 70 static PetscErrorCode ourlocaltoglobalend(DM dm, Vec l, InsertMode mode, Vec g) in ourlocaltoglobalend() argument 72 …caltoglobalend, (DM *, Vec *, InsertMode *, Vec *, PetscErrorCode *), (&dm, &l, &mode, &g, &ierr)); in ourlocaltoglobalend() 75 static PetscErrorCode ourlocaltolocalbegin(DM dm, Vec g, InsertMode mode, Vec l) in ourlocaltolocalbegin() argument 77 …altolocalbegin, (DM *, Vec *, InsertMode *, Vec *, PetscErrorCode *), (&dm, &g, &mode, &l, &ierr)); in ourlocaltolocalbegin() [all …]
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex44.c | 20 ScatterMode mode; in main() local 95 mode = SCATTER_FORWARD; in main() 100 PetscCall(VecScatterBegin(vscatSStoSS, X, Y, addv, mode)); in main() 101 PetscCall(VecScatterEnd(vscatSStoSS, X, Y, addv, mode)); in main() 106 PetscCall(VecScatterBegin(vscatSGtoSS, Y, X, addv, mode)); in main() 107 PetscCall(VecScatterEnd(vscatSGtoSS, Y, X, addv, mode)); in main() 112 PetscCall(VecScatterBegin(vscatSGtoSG, X, Y, addv, mode)); in main() 113 PetscCall(VecScatterEnd(vscatSGtoSG, X, Y, addv, mode)); in main() 118 PetscCall(VecScatterBegin(vscatSStoSG, Y, X, addv, mode)); in main() 119 PetscCall(VecScatterEnd(vscatSStoSG, Y, X, addv, mode)); in main()
|
| /petsc/src/vec/is/is/utils/ftn-custom/ |
| H A D | ziscoloringf90.c | 12 PETSC_EXTERN void iscoloringgetis_(ISColoring *iscoloring, PetscCopyMode *mode, PetscInt *n, F90Arr… in iscoloringgetis_() argument 16 *ierr = ISColoringGetIS(*iscoloring, *mode, n, &lis); in iscoloringgetis_() 21 PETSC_EXTERN void iscoloringrestoreis_(ISColoring *iscoloring, PetscCopyMode *mode, F90Array1d *ptr… in iscoloringrestoreis_() argument 29 *ierr = ISColoringRestoreIS(*iscoloring, *mode, &is); in iscoloringrestoreis_()
|
| /petsc/src/ksp/ksp/utils/lmvm/symbrdn/ |
| H A D | symbrdn.c | 28 static PetscErrorCode SymBroydenKernel_Recursive_Inner(Mat B, MatLMVMMode mode, PetscInt oldest, Pe… in SymBroydenKernel_Recursive_Inner() argument 32 MatLMVMBasisType Y_t = LMVMModeMap(LMBASIS_Y, mode); in SymBroydenKernel_Recursive_Inner() 33 LMBasis BkS = lsb->basis[LMVMModeMap(SYMBROYDEN_BASIS_BKS, mode)]; in SymBroydenKernel_Recursive_Inner() 34 LMProducts M00 = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_M00, mode)]; in SymBroydenKernel_Recursive_Inner() 35 LMProducts M01 = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_M01, mode)]; in SymBroydenKernel_Recursive_Inner() 36 LMProducts M11 = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_M11, mode)]; in SymBroydenKernel_Recursive_Inner() 81 static PetscErrorCode SymBroydenRecursiveBasisUpdate(Mat B, MatLMVMMode mode, PetscBool update_phi_… in SymBroydenRecursiveBasisUpdate() argument 85 MatLMVMBasisType S_t = LMVMModeMap(LMBASIS_S, mode); in SymBroydenRecursiveBasisUpdate() 86 MatLMVMBasisType B0S_t = LMVMModeMap(LMBASIS_B0S, mode); in SymBroydenRecursiveBasisUpdate() 87 SymBroydenProductsType Phi_t = LMVMModeMap(SYMBROYDEN_PRODUCTS_PHI, mode); in SymBroydenRecursiveBasisUpdate() [all …]
|