Searched refs:cntl (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ksp/ksp/impls/hpddm/ |
| H A D | hpddm.cxx | 35 …i = (data->cntl[0] == static_cast<char>(PETSC_DECIDE) ? HPDDM_KRYLOV_METHOD_GMRES : data->cntl[0]); in KSPSetFromOptions_HPDDM() 38 data->cntl[0] = i; in KSPSetFromOptions_HPDDM() 44 if (data->cntl[0] != HPDDM_KRYLOV_METHOD_NONE) { in KSPSetFromOptions_HPDDM() 45 if (data->cntl[0] != HPDDM_KRYLOV_METHOD_BCG && data->cntl[0] != HPDDM_KRYLOV_METHOD_BFBCG) { in KSPSetFromOptions_HPDDM() 46 i = (data->cntl[1] == static_cast<char>(PETSC_DECIDE) ? HPDDM_VARIANT_LEFT : data->cntl[1]); in KSPSetFromOptions_HPDDM() 50 data->cntl[1] = i; in KSPSetFromOptions_HPDDM() 53 …if (data->cntl[0] == HPDDM_KRYLOV_METHOD_BGMRES || data->cntl[0] == HPDDM_KRYLOV_METHOD_BGCRODR ||… in KSPSetFromOptions_HPDDM() 56 …a->scntl[data->cntl[0] != HPDDM_KRYLOV_METHOD_BFBCG] == static_cast<unsigned short>(PETSC_DECIDE) … in KSPSetFromOptions_HPDDM() 58 data->scntl[data->cntl[0] != HPDDM_KRYLOV_METHOD_BFBCG] = i; in KSPSetFromOptions_HPDDM() 59 } else data->scntl[data->cntl[0] != HPDDM_KRYLOV_METHOD_BCG] = 0; in KSPSetFromOptions_HPDDM() [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex52f.F90 | 27 PetscReal cntl, rinfo12, rinfo13, val 141 PetscCallA(MatMumpsGetCntl(F, icntl, cntl, ierr)) 149 write (6, 98) cntl
|
| H A D | ex52.c | 397 PetscReal cntl, rinfo12, rinfo13; in main() local 399 PetscCall(MatMumpsGetCntl(F, icntl, &cntl)); in main() 407 PetscCall(PetscPrintf(PETSC_COMM_SELF, " Mumps row pivot threshold = %g\n", (double)cntl)); in main()
|
| /petsc/include/petsc/private/ |
| H A D | petschpddm.h | 50 char cntl[5]; member
|
| /petsc/src/mat/tests/ |
| H A D | ex125.c | 276 PetscReal cntl; in main() local 281 cntl = 1.e-6; /* threshold for row pivot detection */ in main() 283 PetscCall(MatMumpsSetCntl(F, 3, cntl)); in main()
|
| /petsc/src/mat/impls/aij/mpi/mumps/ |
| H A D | mumps.c | 127 void *cntl; // MumpsReal, fixed size array member 184 outer->cntl = inner->cntl; \ 519 …(ID).precision == PETSC_PRECISION_SINGLE ? ((float *)(ID).cntl)[(I) - 1] : ((double *)(ID).cntl)[(… 526 if ((ID).precision == PETSC_PRECISION_SINGLE) ((float *)(ID).cntl)[(I) - 1] = (VAL); \ 527 else ((double *)(ID).cntl)[(I) - 1] = (VAL); \ 2602 PetscReal cntl; in MatSetFromOptions_MUMPS() local 2728 PetscCallMPI(MPI_Bcast(mumps->id.cntl, 15, MPIU_MUMPSREAL(&mumps->id), 0, mumps->omp_comm)); in MatSetFromOptions_MUMPS() 2851 …CNTL(1): relative pivoting threshold", "None", (PetscReal)ID_CNTL_GET(mumps->id, 1), &cntl, &flg)); in MatSetFromOptions_MUMPS() 2852 if (flg) ID_CNTL_SET(mumps->id, 1, cntl); in MatSetFromOptions_MUMPS() 2853 …2): stopping criterion of refinement", "None", (PetscReal)ID_CNTL_GET(mumps->id, 2), &cntl, &flg)); in MatSetFromOptions_MUMPS() [all …]
|