Home
last modified time | relevance | path

Searched refs:chol (Results 1 – 7 of 7) sorted by relevance

/petsc/src/mat/impls/aij/seq/spqr/
H A Daijspqr.c113 Mat_CHOLMOD *chol = (Mat_CHOLMOD *)F->data; in MatSolve_SPQR_Internal() local
117 if (!chol->normal) { in MatSolve_SPQR_Internal()
118 QTB_handle = SuiteSparseQR_C_qmult(SPQR_QTX, chol->spqrfact, cholB, chol->common); in MatSolve_SPQR_Internal()
120 Y_handle = SuiteSparseQR_C_solve(SPQR_RETX_EQUALS_B, chol->spqrfact, QTB_handle, chol->common); in MatSolve_SPQR_Internal()
123 Z_handle = SuiteSparseQR_C_solve(SPQR_RTX_EQUALS_ETB, chol->spqrfact, cholB, chol->common); in MatSolve_SPQR_Internal()
125 Y_handle = SuiteSparseQR_C_solve(SPQR_RETX_EQUALS_B, chol->spqrfact, Z_handle, chol->common); in MatSolve_SPQR_Internal()
127 PetscCallExternal(!cholmod_l_free_dense, &Z_handle, chol->common); in MatSolve_SPQR_Internal()
130 PetscCallExternal(!cholmod_l_free_dense, &QTB_handle, chol->common); in MatSolve_SPQR_Internal()
136 Mat_CHOLMOD *chol = (Mat_CHOLMOD *)F->data; in MatSolve_SPQR() local
148 PetscCallExternal(!cholmod_l_free_dense, &Y_handle, chol->common); in MatSolve_SPQR()
[all …]
/petsc/src/mat/impls/sbaij/seq/cholmod/
H A Dsbaijcholmod.c63 Mat_CHOLMOD *chol = (Mat_CHOLMOD *)F->data; in CholmodSetOptions() local
64 cholmod_common *c = chol->common; in CholmodSetOptions()
79 chol->pack = (PetscBool)c->final_pack; in CholmodSetOptions()
80 …factorization [disable for frequent repeat factorization]", "None", chol->pack, &chol->pack, NULL)… in CholmodSetOptions()
81 c->final_pack = (int)chol->pack; in CholmodSetOptions()
125 Mat_CHOLMOD *chol = (Mat_CHOLMOD *)F->data; in CholmodStart() local
129 if (chol->common) PetscFunctionReturn(PETSC_SUCCESS); in CholmodStart()
130 PetscCall(PetscMalloc1(1, &chol->common)); in CholmodStart()
131 PetscCallExternal(!cholmod_X_start, chol->common); in CholmodStart()
133 c = chol->common; in CholmodStart()
[all …]
/petsc/src/mat/impls/aij/seq/cholmod/
H A Daijcholmod.c62 Mat_CHOLMOD *chol; in MatGetFactor_seqaij_cholmod() local
76 PetscCall(PetscNew(&chol)); in MatGetFactor_seqaij_cholmod()
78 chol->Wrap = MatWrapCholmod_seqaij; in MatGetFactor_seqaij_cholmod()
79 B->data = chol; in MatGetFactor_seqaij_cholmod()
/petsc/src/mat/tests/
H A Dex125.c56 PetscBool chol = PETSC_FALSE, view = PETSC_FALSE, matsolvexx = PETSC_FALSE, test_inertia; in main() local
96 PetscCall(PetscOptionsGetBool(NULL, NULL, "-cholesky", &chol, NULL)); in main()
135 if (chol) { /* Hermitian transpose not supported by MUMPS Cholesky factor */ in main()
236 PetscCheck(!chol, PETSC_COMM_WORLD, PETSC_ERR_SUP, "SuperLU does not provide Cholesky!"); in main()
247 PetscCheck(!chol, PETSC_COMM_WORLD, PETSC_ERR_SUP, "SuperLU does not provide Cholesky!"); in main()
265 if (chol) { in main()
292 if (chol) { in main()
306 if (chol) { in main()
322 if (chol) { in main()
338 if (chol) { in main()
[all …]
H A Dex267.c5 PetscErrorCode TestMatrix(const char *test, Mat A, PetscInt nrhs, PetscBool inplace, PetscBool chol) in TestMatrix() argument
28 if (!chol) { in TestMatrix()
39 if (!chol) PetscCall(MatLUFactor(F, perm, iperm, NULL)); in TestMatrix()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscmat.pxi1119 cdef PetscErrorCode matfactorinfo(PetscBool inc, PetscBool chol, object opts, argument
1121 CHKERR(MatFactorInfoDefaults(inc, chol, info))
/petsc/src/mat/impls/aij/mpi/mumps/
H A Dmumps.c1516 PetscBool chol = mumps->sym ? PETSC_TRUE : PETSC_FALSE; in MatConvertToTriples_nest_xaij() local
1536 if (chol && c < r) continue; /* skip lower-triangular block for Cholesky */ in MatConvertToTriples_nest_xaij()
1552 if (chol) { in MatConvertToTriples_nest_xaij()
1722 …if (!chol) PetscCheck(cumnnz == totnnz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Different number of nonz… in MatConvertToTriples_nest_xaij()