| /petsc/src/mat/tests/output/ |
| H A D | ex140_1.out | 24 Pass: conjugate 52 Pass: conjugate 81 Pass: conjugate 109 Pass: conjugate 138 Pass: conjugate 166 Pass: conjugate 195 Pass: conjugate 223 Pass: conjugate 252 Pass: conjugate 280 Pass: conjugate [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex258.c | 10 PetscBool conjugate = PETSC_FALSE, equal, flg; in main() local 23 PetscCall(PetscOptionsGetBool(NULL, NULL, "-conjugate", &conjugate, NULL)); in main() 53 if (conjugate) PetscCall(MatConjugate(Conjugate)); in main()
|
| /petsc/src/mat/impls/transpose/ |
| H A D | htransm.c | 8 PetscBool conjugate; member 19 if (data->conjugate) PetscCall(MatDestroy(&data->B)); in MatProductCtxDestroy_HT() 43 if (data->conjugate) { in MatProductNumeric_HT() 50 if (data->conjugate) { in MatProductNumeric_HT() 76 if (data->conjugate) { in MatProductSymbolic_HT() 86 if (data->conjugate) product->B = B; in MatProductSymbolic_HT() 96 PetscBool Aistrans, Bistrans, Cistrans, conjugate = PETSC_FALSE; in MatProductSetFromOptions_HT() local 116 conjugate = (PetscBool)!conjugate; in MatProductSetFromOptions_HT() 158 data->conjugate = (PetscBool)Atrans; in MatProductSetFromOptions_HT()
|
| /petsc/src/mat/impls/normal/ |
| H A D | normmh.c | 207 Mat B, conjugate; in MatConvert_NormalHermitian_AIJ() local 228 PetscCall(MatDuplicate(Aa->A, MAT_COPY_VALUES, &conjugate)); in MatConvert_NormalHermitian_AIJ() 229 PetscCall(MatConjugate(conjugate)); in MatConvert_NormalHermitian_AIJ() 230 PetscCall(MatProductReplaceMats(conjugate, Aa->A, NULL, B)); in MatConvert_NormalHermitian_AIJ() 233 if (PetscDefined(USE_COMPLEX)) PetscCall(MatDestroy(&conjugate)); in MatConvert_NormalHermitian_AIJ()
|
| /petsc/src/binding/petsc4py/demo/python_types/ |
| H A D | matpython_protocol.py | 166 def conjugate(self, A: Mat) -> None: member in MatPythonProtocol
|
| /petsc/doc/manual/ |
| H A D | tao.md | 88 minimization method (e.g., limited-memory variable metric, conjugate 860 method (`tao_lmvm`) and nonlinear conjugate gradient method 1103 conjugate gradient method, Nash conjugate gradient method, 1104 Steihaug-Toint conjugate gradient method, generalized Lanczos method, or 1112 the linear system of equations. For the conjugate gradient methods and 1192 computed and reduces the number of iterations of the conjugate gradient 1207 standard conjugate gradient method and initializes the trust region to 1448 the Nash or Steihaug-Toint conjugate gradient methods or the generalized 1457 compute the direction. For the Nash and Steihaug-Toint conjugate 1482 standard conjugate gradient method and initializes the trust region to [all …]
|
| /petsc/src/vec/vec/impls/seq/ |
| H A D | dvec2.c | 515 static PetscErrorCode VecMultiDot_Seq_GEMV(PetscBool conjugate, Vec xin, PetscInt nv, const Vec yin… in VecMultiDot_Seq_GEMV() argument 520 const char *trans = conjugate ? "C" : "T"; in VecMultiDot_Seq_GEMV() 561 if (conjugate) PetscCall(VecDot_Seq(xin, yin[i], z + i)); in VecMultiDot_Seq_GEMV() 570 if (conjugate) PetscCall(VecMDot_Seq(xin, nv - i, yin + i, z + i)); in VecMultiDot_Seq_GEMV()
|
| H A D | bvec2.c | 758 PetscDesignatedInitializer(conjugate, VecConjugate_Seq),
|
| /petsc/doc/changes/ |
| H A D | 310.md | 126 - Bound-constrained conjugate gradient method expanded with new CG
|
| H A D | 33.md | 119 nonlinear conjugate gradients (SNESNCG), and multi-stage methods
|
| /petsc/src/mat/impls/shell/ |
| H A D | shell.c | 90 static PetscErrorCode MatShellPreScaleLeft(Mat A, Vec x, Vec *xx, PetscBool conjugate) in MatShellPreScaleLeft() argument 100 if (conjugate) { /* get arrays because there is no VecPointwiseMultConj() */ in MatShellPreScaleLeft() 152 static PetscErrorCode MatShellPostScaleRight(Mat A, Vec x, PetscBool conjugate) in MatShellPostScaleRight() argument 158 if (conjugate) { /* get arrays because there is no VecPointwiseMultConj() */ in MatShellPostScaleRight() 180 static PetscErrorCode MatShellShiftAndScale(Mat A, Vec X, Vec Y, PetscBool conjugate) in MatShellShiftAndScale() argument 183 PetscScalar vscale = conjugate ? PetscConj(shell->vscale) : shell->vscale; in MatShellShiftAndScale() 184 PetscScalar vshift = conjugate ? PetscConj(shell->vshift) : shell->vshift; in MatShellShiftAndScale() 195 if (conjugate) in MatShellShiftAndScale()
|
| /petsc/src/vec/vec/impls/seq/kokkos/ |
| H A D | veckok.kokkos.cxx | 530 static PetscErrorCode VecMultiDot_SeqKokkos_GEMV(PetscBool conjugate, Vec xin, PetscInt nv, const V… in VecMultiDot_SeqKokkos_GEMV() argument 537 const char *trans = conjugate ? "C" : "T"; in VecMultiDot_SeqKokkos_GEMV() 587 if (conjugate) PetscCall(VecDot_SeqKokkos(xin, yin[i], z_h + i)); in VecMultiDot_SeqKokkos_GEMV() 595 if (conjugate) PetscCall(VecMDot_SeqKokkos(xin, nv - i, yin + i, z_h + i)); in VecMultiDot_SeqKokkos_GEMV() 1676 v->ops->conjugate = VecConjugate_SeqKokkos; in VecCreate_SeqKokkos_Common()
|
| /petsc/src/mat/impls/cdiagonal/ |
| H A D | cdiagonal.c | 404 A->ops->conjugate = MatConjugate_ConstantDiagonal; in MatCreate_ConstantDiagonal()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | KSP.pyx | 18 A pipelined conjugate gradient method (Gropp). 21 A pipelined conjugate gradient method. 30 Pipelined predict-and-recompute conjugate gradient method. 33 Pipelined conjugate gradient method with a single non-blocking 36 Applies the preconditioned conjugate gradient method to the 132 Similar to running the conjugate gradient on the normal equations.
|
| H A D | libpetsc4py.pyx | 559 PetscErrorCode (*conjugate)(PetscMat) except PETSC_ERR_PYTHON 637 93 : 'conjugate', 683 ops.conjugate = MatConjugate_Python 1242 cdef conjugate = PyMat(mat).conjugate 1243 if conjugate is None: return UNSUPPORTED(b"conjugate") 1244 conjugate(Mat_(mat))
|
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 1476 static PetscErrorCode MatGetTranspose_TransposeVirtual(Mat *sub, PetscBool *conjugate, PetscScalar … in MatGetTranspose_TransposeVirtual() argument 1496 if (!*conjugate) { in MatGetTranspose_TransposeVirtual() 1505 if (isHTrans && conjugate) *conjugate = (PetscBool)!*conjugate; 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() 1670 if (conjugate) { /* conjugate the entries */ in MatConvertToTriples_nest_xaij() 1736 PetscBool conjugate = PETSC_FALSE; in MatConvertToTriples_nest_xaij() local 1742 PetscCall(MatGetTranspose_TransposeVirtual(&sub, &conjugate, &vshift, &vscale, NULL)); in MatConvertToTriples_nest_xaij() 1746 if (conjugate) { in MatConvertToTriples_nest_xaij()
|
| /petsc/src/mat/impls/dense/seq/cupm/ |
| H A D | matseqdensecupm.hpp | 1123 MatSetOp_CUPM(to_host, A, conjugate, MatConjugate_SeqDense, Conjugate); in BindToCPU() 1452 struct conjugate { struct 1486 detail::conjugate{} in Conjugate() 1499 detail::conjugate{} in Conjugate()
|
| /petsc/src/ksp/pc/impls/hpddm/ |
| H A D | pchpddm.cxx | 149 Mat conjugate = *splitting[splitting[1] ? 1 : 0]; in PCHPDDMSetAuxiliaryMatNormal_Private() local 152 PetscCall(MatDuplicate(*splitting[0], MAT_COPY_VALUES, &conjugate)); in PCHPDDMSetAuxiliaryMatNormal_Private() 153 PetscCall(MatConjugate(conjugate)); in PCHPDDMSetAuxiliaryMatNormal_Private() 155 …PetscCall(MatTransposeMatMult(conjugate, *splitting[0], MAT_INITIAL_MATRIX, PETSC_DETERMINE, &aux)… in PCHPDDMSetAuxiliaryMatNormal_Private() 156 if (PetscDefined(USE_COMPLEX) && !splitting[1]) PetscCall(MatDestroy(&conjugate)); in PCHPDDMSetAuxiliaryMatNormal_Private() 1359 PetscBool flg, conjugate = PETSC_FALSE; in PCHPDDMCheckSymmetry_Private() local 1372 conjugate = PETSC_TRUE; in PCHPDDMCheckSymmetry_Private() 1417 else if (conjugate) PetscCall(MatConjugate(T)); in PCHPDDMCheckSymmetry_Private()
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 597 PetscUseTypeMethod(mat, conjugate); in MatConjugate() 5307 static PetscErrorCode MatTranspose_Private(Mat mat, MatReuse reuse, Mat *B, PetscBool conjugate) in MatTranspose_Private() argument 5329 if (conjugate) { in MatTranspose_Private() 5333 if (!f && !(reuse == MAT_INPLACE_MATRIX && mat->hermitian == PETSC_BOOL3_TRUE && conjugate)) { in MatTranspose_Private() 5340 if (conjugate) PetscCall(MatConjugate(*B)); in MatTranspose_Private() 5711 Vec conjugate; in MatDiagonalScale() local 5713 PetscCall(VecDuplicate(l, &conjugate)); in MatDiagonalScale() 5714 PetscCall(VecCopy(l, conjugate)); in MatDiagonalScale() 5715 PetscCall(VecConjugate(conjugate)); in MatDiagonalScale() 5716 PetscCall(VecEqual(conjugate, r, &flg)); in MatDiagonalScale() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | vecimpl.h | 62 PetscErrorCode (*conjugate)(Vec); member
|
| /petsc/src/mat/impls/diagonal/ |
| H A D | diagonal.c | 725 A->ops->conjugate = MatConjugate_Diagonal; in MatCreate_Diagonal()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pbvec.c | 499 PetscDesignatedInitializer(conjugate, VecConjugate_Seq),
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 2020 struct conjugate { struct 2031 …if (PetscDefined(USE_COMPLEX)) PetscCall(PointwiseUnary_(detail::conjugate{}, xin, nullptr, dctx)); in ConjugateAsync()
|
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 791 ops->conjugate = VecConjugate_Nest; in VecNestSetOps_Private()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vinv.c | 1350 …cCall(VecApplyUnary_Private(v, dctx, VecAsyncFnName(Conjugate), v->ops->conjugate, ScalarConjugate… in VecConjugateAsync_Private()
|