Lines Matching refs:swap
1499 std::swap(P, Q);
1503 std::swap(P, Q);
1741 std::swap(*b, *std::get<3>(*ctx)[2]); /* replace b by M^-1 b, but need to keep a copy of the original RHS, so swap it with the work Vec */
1751 if (std::get<2>(*ctx) == PC_LEFT || std::get<2>(*ctx) == PC_SIDE_DEFAULT) std::swap(*b, *std::get<3>(*ctx)[2]); /* put back the original RHS where it belongs */
1780 PetscBool subdomains = PETSC_FALSE, flg = PETSC_FALSE, ismatis, swap = PETSC_FALSE, algebraic = PETSC_FALSE, block = PETSC_FALSE;
2275 std::swap(C, P);
2645 /* swap pointers so that variables stay consistent throughout PCSetUp() */
2646 std::swap(C, data->aux);
2647 std::swap(uis, data->is);
2648 swap = PETSC_TRUE;
2672 std::swap(C, data->aux);
2673 std::swap(uis, data->is);
2674 swap = PETSC_TRUE;
3000 if (data->share && swap) {
3001 /* swap back pointers so that variables follow the user-provided numbering */
3002 std::swap(C, data->aux);
3003 std::swap(uis, data->is);