| /petsc/src/sys/objects/device/interface/ |
| H A D | petscdevice_interface_internal.hpp | 49 void swap(_n_WeakContext &other) noexcept in swap() function 51 using std::swap; in swap() 53 weak_dctx_.swap(other.weak_dctx_); in swap() 54 swap(state_, other.state_); in swap() 57 friend void swap(_n_WeakContext &lhs, _n_WeakContext &rhs) noexcept { lhs.swap(rhs); } in swap() function
|
| H A D | mark_dcontext.cxx | 171 friend void swap(PetscStackFrame &lhs, PetscStackFrame &rhs) noexcept in swap() function 173 using std::swap; in swap() 175 swap(lhs.file, rhs.file); in swap() 176 swap(lhs.function, rhs.function); in swap() 177 swap(lhs.line, rhs.line); in swap() 240 friend void swap(snapshot_type &, snapshot_type &) noexcept; 343 void swap(MarkedObjectMap::snapshot_type &lhs, MarkedObjectMap::snapshot_type &rhs) noexcept in swap() function 345 using std::swap; in swap() 347 swap(lhs.frame(), rhs.frame()); in swap() 348 swap(lhs.event_, rhs.event_); in swap() [all …]
|
| /petsc/src/mat/graphops/order/ |
| H A D | gennd.c | 12 PetscInt swap, i, m, in; in SPARSEPACKrevrse() local 22 swap = perm[i]; in SPARSEPACKrevrse() 24 perm[in] = swap; in SPARSEPACKrevrse()
|
| /petsc/src/sys/tests/linter/ |
| H A D | testStaticFunctionCandidates.cxx | 28 friend void swap(); 31 void swap() { } in swap() function
|
| /petsc/src/mat/tests/ |
| H A D | ex42.c | 69 PetscInt k, swap, l; in main() local 74 swap = idx[bs * j + l]; in main() 76 idx[bs * k + l] = swap; in main()
|
| /petsc/include/petsc/private/cpp/ |
| H A D | unordered_map.hpp | 133 void swap(KHashTable &) noexcept; 985 using std::swap; in resize() 992 PetscCallCXX(swap(values_[j], key)); in resize() 1124 inline void KHashTable<V, H, KE>::swap(KHashTable &other) noexcept in swap() function in Petsc::khash::KHashTable 1128 using std::swap; in swap() 1130 swap(values_, other.values_); in swap() 1131 swap(flags_, other.flags_); in swap() 1132 swap(count_, other.count_); in swap() 1133 swap(n_occupied_, other.n_occupied_); in swap() 1134 swap(upper_bound_, other.upper_bound_); in swap() [all …]
|
| /petsc/src/vec/vec/impls/mpi/mpiviennacl/ |
| H A D | mpiviennacl.cxx | 176 vv->ops->swap = VecSwap_Seq; in VecBindToCPU_MPIViennaCL() 208 vv->ops->swap = VecSwap_SeqViennaCL; in VecBindToCPU_MPIViennaCL()
|
| /petsc/include/petsc/private/ |
| H A D | cupmblasinterface.hpp | 269 PETSC_CUPMBLAS_ALIAS_BLAS_FUNCTION(STANDARD, swap) in PETSC_CUPMBLAS_ALIAS_FUNCTION() 341 PETSC_CUPMBLAS_ALIAS_BLAS_FUNCTION(STANDARD, swap) in PETSC_CUPMBLAS_ALIAS_FUNCTION()
|
| H A D | vecimpl.h | 30 …PetscErrorCode (*swap)(Vec, Vec); /* exchange x an… member
|
| /petsc/include/ |
| H A D | petscdt.h | 377 PetscInt swap = perm[i]; in PetscDTEnumPerm() local 380 perm[i + s] = swap; in PetscDTEnumPerm()
|
| H A D | petscblaslapack_mangle.h | 133 #define BLASswap_ PETSCBLAS(swap, SWAP)
|
| /petsc/src/sys/tests/ |
| H A D | ex64.cxx | 486 PetscCallCXX(map.swap(alt)); in test_erase() 493 using std::swap; in test_erase() 497 PetscCallCXX(swap(map, alt)); in test_erase()
|
| /petsc/src/ksp/pc/impls/hpddm/ |
| H A D | pchpddm.cxx | 1499 std::swap(P, Q); in PCHPDDMAlgebraicAuxiliaryMat_Private() 1503 std::swap(P, Q); in PCHPDDMAlgebraicAuxiliaryMat_Private() 1741 …std::swap(*b, *std::get<3>(*ctx)[2]); /* replace b by M^-1 b, but need to keep a copy of the origi… in KSPPreSolve_SchurCorrection() 1751 …if (std::get<2>(*ctx) == PC_LEFT || std::get<2>(*ctx) == PC_SIDE_DEFAULT) std::swap(*b, *std::get<… in KSPPostSolve_SchurCorrection() 1780 … subdomains = PETSC_FALSE, flg = PETSC_FALSE, ismatis, swap = PETSC_FALSE, alge… in PCSetUp_HPDDM() local 2275 std::swap(C, P); in PCSetUp_HPDDM() 2646 std::swap(C, data->aux); in PCSetUp_HPDDM() 2647 std::swap(uis, data->is); in PCSetUp_HPDDM() 2648 swap = PETSC_TRUE; in PCSetUp_HPDDM() 2672 std::swap(C, data->aux); in PCSetUp_HPDDM() [all …]
|
| /petsc/src/vec/vec/impls/seq/seqviennacl/ |
| H A D | vecviennacl.cxx | 658 viennacl::swap(*xgpu, *ygpu); in VecSwap_SeqViennaCL() 1187 V->ops->swap = VecSwap_Seq; in VecBindToCPU_SeqAIJViennaCL() 1216 V->ops->swap = VecSwap_SeqViennaCL; in VecBindToCPU_SeqAIJViennaCL()
|
| /petsc/src/ksp/ksp/impls/hpddm/ |
| H A D | hpddm.cxx | 381 std::swap(*ptr, bt); in KSPSolve_HPDDM() 386 std::swap(*ptr, bt); in KSPSolve_HPDDM()
|
| /petsc/share/petsc/matlab/ |
| H A D | generatePetscTestFiles.m | 48 % Now, we swap the (1,1) and (1,2) entries in A to make it nonsymmetric
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddc.c | 1720 Vec swap; in PCApply_BDDC() local 1723 swap = pcbddc->work_change; in PCApply_BDDC() 1725 r = swap; in PCApply_BDDC() 1875 Vec swap; in PCApplyTranspose_BDDC() local 1878 swap = pcbddc->work_change; in PCApplyTranspose_BDDC() 1880 r = swap; in PCApplyTranspose_BDDC()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_vec.py | 88 v1.swap(v2)
|
| /petsc/src/dm/impls/moab/ |
| H A D | dmmbutil.cxx | 247 verts.swap(uverts); in DMMoab_GenerateVertices_Private() 335 tmp.swap(cells); in DMMoab_GenerateElements_Private()
|
| /petsc/src/vec/vec/impls/mpi/kokkos/ |
| H A D | mpikok.kokkos.cxx | 221 v->ops->swap = VecSwap_SeqKokkos; in VecCreate_MPIKokkos_Common()
|
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 1476 …eVirtual(Mat *sub, PetscBool *conjugate, PetscScalar *vshift, PetscScalar *vscale, PetscBool *swap) in MatGetTranspose_TransposeVirtual() argument 1504 if (swap) *swap = (PetscBool)!*swap; in MatGetTranspose_TransposeVirtual() 1608 PetscBool conjugate = PETSC_FALSE, swap = PETSC_FALSE; in MatConvertToTriples_nest_xaij() local 1624 PetscCall(MatGetTranspose_TransposeVirtual(&sub, &conjugate, &vshift, &vscale, &swap)); in MatConvertToTriples_nest_xaij() 1638 if (swap) { in MatConvertToTriples_nest_xaij() 1657 if (swap) { in MatConvertToTriples_nest_xaij()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 3590 PetscReal *swap; in DMPlexCoordinatesToReference_Tensor() local 3600 swap = cellCoeffs; in DMPlexCoordinatesToReference_Tensor() 3602 cellCoords = swap; in DMPlexCoordinatesToReference_Tensor() 3687 PetscReal *swap; in DMPlexReferenceToCoordinates_Tensor() local 3697 swap = cellCoeffs; in DMPlexReferenceToCoordinates_Tensor() 3699 cellCoords = swap; in DMPlexReferenceToCoordinates_Tensor()
|
| H A D | plexsubmesh.c | 507 PetscInt swap[2]; in DMPlexShiftPointSetUp_Internal() local 510 swap[0] = depthShift[2 * d]; in DMPlexShiftPointSetUp_Internal() 511 swap[1] = depthShift[2 * d + 1]; in DMPlexShiftPointSetUp_Internal() 514 depthShift[2 * e] = swap[0]; in DMPlexShiftPointSetUp_Internal() 515 depthShift[2 * e + 1] = swap[1]; in DMPlexShiftPointSetUp_Internal()
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 417 PetscInt swap = idxOrder[v]; in PetscLagNodeIndicesComputeVertexOrder() local 420 idxOrder[w] = swap; in PetscLagNodeIndicesComputeVertexOrder() 450 PetscInt swap = revlexOrder[v]; in PetscLagNodeIndicesComputeVertexOrder() local 453 revlexOrder[w] = swap; in PetscLagNodeIndicesComputeVertexOrder()
|
| /petsc/doc/developers/ |
| H A D | objects.md | 138 PetscErrorCode (*swap)(Vec,Vec); /* exchange x and y */
|