| /petsc/src/mat/tests/ |
| H A D | ex267.c | 5 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 D | ex1.c | 96 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 D | cholesky.c | 38 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 D | qr.c | 22 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 D | lu.c | 55 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 D | make_links_relative.py | 22 with fileinput.FileInput(filename_from_root, inplace=True) as file:
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/ |
| H A D | makefile | 27 ${PYTHON} setup.py -q build_ext --inplace
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-cython/ |
| H A D | makefile | 24 ${PYTHON} setup.py -q build_ext --inplace
|
| /petsc/src/binding/petsc4py/demo/legacy/wrap-swig/ |
| H A D | makefile | 24 ${PYTHON} setup.py -q build_ext --inplace
|
| /petsc/src/ksp/pc/impls/factor/ |
| H A D | factimpl.c | 221 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 D | factor.h | 15 PetscBool inplace; /* flag indicating in-place factorization */ member
|
| H A D | factor.c | 72 dir->inplace = flg; in PCFactorSetUseInPlace_Factor() 81 *flg = dir->inplace; in PCFactorGetUseInPlace_Factor()
|
| /petsc/src/ksp/pc/impls/factor/ilu/ |
| H A D | ilu.c | 22 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 D | confpetsc.py | 560 self.inplace = None 566 if self.inplace is None: 567 self.inplace = False 606 self.inplace = None
|
| /petsc/doc/changes/ |
| H A D | 230.md | 58 - Changed MatConvert to require a reuse parameter to denote inplace
|
| H A D | 300.md | 76 do an inplace transpose use MAT_REUSE_MATRIX and pass the address
|
| /petsc/src/binding/petsc4py/ |
| H A D | makefile | 4 default: opt=--inplace
|
| H A D | CHANGES.rst | 212 - Better support for inplace LU/ILU and Cholesky/ICC factorization and
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 233 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 D | petscvec.pxi | 249 # inplace binary operations
|
| H A D | Mat.pyx | 386 # 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 D | petscmat.pxi | 600 # inplace binary operations
|
| H A D | Vec.pyx | 61 # inplace binary operations
|
| /petsc/doc/manual/ |
| H A D | ksp.md | 2613 One can also call `MatConvert()` inplace to convert the matrix to and
|