Searched refs:ncoeffs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/deflation/ |
| H A D | deflationspace.c | 16 …(MPI_Comm comm, PetscInt m, PetscInt n, PetscInt M, PetscInt N, PetscInt ncoeffs, PetscScalar *coe… in PCDeflationCreateSpaceWave() argument 22 PetscCall(PetscMalloc1(ncoeffs, &Iidx)); in PCDeflationCreateSpaceWave() 27 PetscCall(MatSeqAIJSetPreallocation(defl, ncoeffs, NULL)); in PCDeflationCreateSpaceWave() 28 PetscCall(MatMPIAIJSetPreallocation(defl, ncoeffs, NULL, ncoeffs, NULL)); in PCDeflationCreateSpaceWave() 33 k = ncoeffs - 2; in PCDeflationCreateSpaceWave() 37 for (i = 0; i < ncoeffs; i++) { in PCDeflationCreateSpaceWave() 42 PetscCall(MatSetValues(defl, 1, &i, ncoeffs, Iidx, coeffs, INSERT_VALUES)); in PCDeflationCreateSpaceWave() 43 for (j = 0; j < ncoeffs; j++) { in PCDeflationCreateSpaceWave() 102 static PetscErrorCode PCDeflationGetSpaceWave(PC pc, Mat *W, PetscInt size, PetscInt ncoeffs, Petsc… in PCDeflationGetSpaceWave() argument 119 else Mdefl = (PetscInt)PetscFloorReal((ncoeffs + Mdefl - 1) / 2.); in PCDeflationGetSpaceWave() [all …]
|