Home
last modified time | relevance | path

Searched refs:inplace (Results 1 – 24 of 24) sorted by relevance

/petsc/src/mat/tests/
H A Dex267.c5 PetscErrorCode TestMatrix(const char *test, Mat A, PetscInt nrhs, PetscBool inplace, PetscBool chol) in TestMatrix() argument
27 if (!inplace) { in TestMatrix()
122 PetscBool aij, inplace = PETSC_FALSE; in main() local
135 PetscCall(PetscOptionsGetBool(NULL, NULL, "-inplace", &inplace, NULL)); in main()
156 PetscCall(TestMatrix("LU T", At, nrhs, inplace, PETSC_FALSE)); in main()
157 PetscCall(TestMatrix("LU HT", Aht, nrhs, inplace, PETSC_FALSE)); in main()
159 PetscCall(TestMatrix("Chol T", At, nrhs, inplace, PETSC_TRUE)); in main()
160 PetscCall(TestMatrix("Chol HT", Aht, nrhs, inplace, PETSC_TRUE)); in main()
173 PetscCall(TestMatrix("LU T nonsym", At, nrhs, inplace, PETSC_FALSE)); in main()
174 PetscCall(TestMatrix("LU HT nonsym", Aht, nrhs, inplace, PETSC_FALSE)); in main()
H A Dex1.c96 PetscBool inplace, full = PETSC_FALSE, ldl = PETSC_TRUE, qr = PETSC_TRUE; in main() local
115 PetscCall(PetscObjectBaseTypeCompare((PetscObject)mat, MATSEQDENSE, &inplace)); in main()
126 if (inplace) { in main()
163 if (inplace) { in main()
210 if (inplace) { in main()
/petsc/src/ksp/pc/impls/factor/cholesky/
H A Dcholesky.c38 if (dir->hdr.inplace) { in PCSetUp_Cholesky()
157 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_Cholesky()
181 if (dir->hdr.inplace) { in PCApply_Cholesky()
194 if (dir->hdr.inplace) { in PCMatApply_Cholesky()
207 if (dir->hdr.inplace) { in PCApplySymmetricLeft_Cholesky()
220 if (dir->hdr.inplace) { in PCApplySymmetricRight_Cholesky()
233 if (dir->hdr.inplace) { in PCApplyTranspose_Cholesky()
246 if (dir->hdr.inplace) { in PCMatApplyTranspose_Cholesky()
/petsc/src/ksp/pc/impls/factor/qr/
H A Dqr.c22 if (dir->hdr.inplace) { in PCSetUp_QR()
77 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_QR()
101 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCApply_QR()
112 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCMatApply_QR()
123 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCApplyTranspose_QR()
/petsc/src/ksp/pc/impls/factor/lu/
H A Dlu.c55 if (dir->hdr.inplace) { in PCSetUp_LU()
151 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_LU()
175 if (dir->hdr.inplace) { in PCApply_LU()
188 if (dir->hdr.inplace) { in PCMatApply_LU()
201 if (dir->hdr.inplace) { in PCApplyTranspose_LU()
214 if (dir->hdr.inplace) { in PCMatApplyTranspose_LU()
/petsc/doc/
H A Dmake_links_relative.py22 with fileinput.FileInput(filename_from_root, inplace=True) as file:
/petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/
H A Dmakefile27 ${PYTHON} setup.py -q build_ext --inplace
/petsc/src/binding/petsc4py/demo/legacy/wrap-cython/
H A Dmakefile24 ${PYTHON} setup.py -q build_ext --inplace
/petsc/src/binding/petsc4py/demo/legacy/wrap-swig/
H A Dmakefile24 ${PYTHON} setup.py -q build_ext --inplace
/petsc/src/ksp/pc/impls/factor/
H A Dfactimpl.c221 PetscBool inplace; in PCSetFromOptions_Factor() local
224 PetscCall(PCFactorGetUseInPlace(pc, &inplace)); in PCSetFromOptions_Factor()
225 … factored matrix in the same memory as the matrix", "PCFactorSetUseInPlace", inplace, &flg, &set)); in PCSetFromOptions_Factor()
268 if (factor->inplace) { in PCView_Factor()
H A Dfactor.h15 PetscBool inplace; /* flag indicating in-place factorization */ member
H A Dfactor.c72 dir->inplace = flg; in PCFactorSetUseInPlace_Factor()
81 *flg = dir->inplace; in PCFactorGetUseInPlace_Factor()
/petsc/src/ksp/pc/impls/factor/ilu/
H A Dilu.c22 if (!ilu->hdr.inplace) PetscCall(MatDestroy(&((PC_Factor *)ilu)->fact)); in PCReset_ILU()
95 if (ilu->hdr.inplace) { in PCSetUp_ILU()
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py560 self.inplace = None
566 if self.inplace is None:
567 self.inplace = False
606 self.inplace = None
/petsc/doc/changes/
H A D230.md58 - Changed MatConvert to require a reuse parameter to denote inplace
H A D300.md76 do an inplace transpose use MAT_REUSE_MATRIX and pass the address
/petsc/src/binding/petsc4py/
H A Dmakefile4 default: opt=--inplace
H A DCHANGES.rst212 - Better support for inplace LU/ILU and Cholesky/ICC factorization and
/petsc/src/vec/vec/impls/seq/cupm/
H A Dvecseqcupm_impl.hpp233 const auto inplace = !yin || (xinout == yin); in PointwiseUnary_() local
258 if (inplace) { in PointwiseUnary_()
266 if (inplace) { in PointwiseUnary_()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscvec.pxi249 # inplace binary operations
H A DMat.pyx386 # inplace binary operations
2173 Optional return matrix. If `None`, inplace conversion is performed.
2203 Optional return matrix. If `None`, inplace transposition is performed.
2242 Optional return matrix. If `None`, inplace transposition is performed.
H A Dpetscmat.pxi600 # inplace binary operations
H A DVec.pyx61 # inplace binary operations
/petsc/doc/manual/
H A Dksp.md2613 One can also call `MatConvert()` inplace to convert the matrix to and