Home
last modified time | relevance | path

Searched refs:conjugate (Results 1 – 25 of 33) sorted by relevance

12

/petsc/src/mat/tests/output/
H A Dex140_1.out24 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 Dex258.c10 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 Dhtransm.c8 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 Dnormmh.c207 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 Dmatpython_protocol.py166 def conjugate(self, A: Mat) -> None: member in MatPythonProtocol
/petsc/doc/manual/
H A Dtao.md88 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 Ddvec2.c515 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 Dbvec2.c758 PetscDesignatedInitializer(conjugate, VecConjugate_Seq),
/petsc/doc/changes/
H A D310.md126 - Bound-constrained conjugate gradient method expanded with new CG
H A D33.md119 nonlinear conjugate gradients (SNESNCG), and multi-stage methods
/petsc/src/mat/impls/shell/
H A Dshell.c90 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 Dveckok.kokkos.cxx530 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 Dcdiagonal.c404 A->ops->conjugate = MatConjugate_ConstantDiagonal; in MatCreate_ConstantDiagonal()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DKSP.pyx18 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 Dlibpetsc4py.pyx559 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 Dmumps.c1476 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 Dmatseqdensecupm.hpp1123 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 Dpchpddm.cxx149 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 Dmatrix.c597 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 Dvecimpl.h62 PetscErrorCode (*conjugate)(Vec); member
/petsc/src/mat/impls/diagonal/
H A Ddiagonal.c725 A->ops->conjugate = MatConjugate_Diagonal; in MatCreate_Diagonal()
/petsc/src/vec/vec/impls/mpi/
H A Dpbvec.c499 PetscDesignatedInitializer(conjugate, VecConjugate_Seq),
/petsc/src/vec/vec/impls/seq/cupm/
H A Dvecseqcupm_impl.hpp2020 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 Dvecnest.c791 ops->conjugate = VecConjugate_Nest; in VecNestSetOps_Private()
/petsc/src/vec/vec/utils/
H A Dvinv.c1350 …cCall(VecApplyUnary_Private(v, dctx, VecAsyncFnName(Conjugate), v->ops->conjugate, ScalarConjugate… in VecConjugateAsync_Private()

12