| /petsc/src/ksp/pc/impls/mg/ |
| H A D | mg.c | 107 if (mglevels->cr) { in PCMGMCycle_Private() 114 PetscCall(KSPGetOperators(mglevels->cr, &crA, NULL)); in PCMGMCycle_Private() 116 PetscCall(KSPSolve(mglevels->cr, mglevels->crb, mglevels->crx)); /* compatible relaxation */ in PCMGMCycle_Private() 117 PetscCall(KSPCheckSolve(mglevels->cr, pc, mglevels->crx)); in PCMGMCycle_Private() 234 if (mglevels[i]->cr) PetscCall(KSPReset(mglevels[i]->cr)); in PCReset_MG() 319 static PetscErrorCode CreateCR_Private(PC pc, PetscInt l, PC *cr) in CreateCR_Private() argument 324 PetscCall(PCCreate(PetscObjectComm((PetscObject)pc), cr)); in CreateCR_Private() 325 PetscCall(PetscObjectSetName((PetscObject)*cr, "S (complementary projector to injection)")); in CreateCR_Private() 329 PetscCall(PCSetType(*cr, PCSHELL)); in CreateCR_Private() 330 PetscCall(PCShellSetContext(*cr, ctx)); in CreateCR_Private() [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex20.c | 31 PetscBool cr; /* Use compatible relaxation */ member 63 options->cr = PETSC_FALSE; in ProcessOptions() 65 …l(PetscOptionsBool("-cr", "Use compatible relaxarion", "ex20.c", options->cr, &options->cr, NULL)); in ProcessOptions()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex11.h | 416 static PetscScalar cl, cr, wl, zl, wr, zr, pst, durl, skpr1, skpr2; in riem1mdt() local 435 cr = PetscSqrtScalar(*gamr * *pr / *rr); in riem1mdt() 437 wr = *rr * cr; in riem1mdt() 443 skpr1 = cr * (pst - 1.) * PetscSqrtScalar(2. / (*gamr * (*gamr - 1. + (*gamr + 1.) * pst))); in riem1mdt() 445 rarepr2 = gascr4 * 2. * cr * (1. - PetscPowScalar(pst, d__1)); in riem1mdt() 483 ustarr = *uxr + gascr4 * 2. * (cstarr - cr); in riem1mdt() 507 ustarr = *uxr + gascr4 * 2. * (cstarr - cr); in riem1mdt() 526 …ustarr = *uxr + (pst - 1.) * cr * PetscSqrtScalar(2. / (*gamr * (*gamr - 1. + (*gamr + 1.) * pst))… in riem1mdt() 527 …zr = *pr / cr * PetscSqrtScalar(*gamr * 2. * (*gamr - 1. + (*gamr + 1.) * pst)) * (*gamr - 1. … in riem1mdt() 549 …ustarr = *uxr + (pst - 1.) * cr * PetscSqrtScalar(2. / (*gamr * (*gamr - 1. + (*gamr + 1.) * pst)… in riem1mdt() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfluent.c | 853 const PetscInt cr = faceAdjCell[f * 2 + 1] - 1; in DMPlexCreateFluent() local 860 if (cr >= 0) PetscCall(InsertFace(*dm, cr, face, 0)); in DMPlexCreateFluent() 863 if (cr >= 0) PetscCall(InsertFace(*dm, cr, face, -1)); in DMPlexCreateFluent() 897 const PetscInt cr = faceAdjCell[f * 2 + 1] - 1; in DMPlexCreateFluent() local 900 if (cl > 0 && cr > 0) { in DMPlexCreateFluent() 903 cells[1] = cr; in DMPlexCreateFluent() 905 …Plex facet for Fluent face %" PetscInt_FMT " cells: %" PetscInt_FMT ", %" PetscInt_FMT, f, cl, cr); in DMPlexCreateFluent()
|
| /petsc/doc/changes/ |
| H A D | 212.md | 41 - Support -ksp_unpreconditioned_norm in -ksp_type cr
|
| /petsc/include/petsc/private/ |
| H A D | pcmgimpl.h | 37 KSP cr; /* post compatible relaxation (cr) */ member
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | itfunc.c | 2614 PetscErrorCode KSPComputeConvergenceRate(KSP ksp, PetscReal *cr, PetscReal *rRsq, PetscReal *ce, Pe… in KSPComputeConvergenceRate() argument 2621 if (cr || rRsq) { in KSPComputeConvergenceRate() 2624 if (cr) *cr = 0.0; in KSPComputeConvergenceRate() 2640 if (cr) *cr = PetscExpReal(slope); in KSPComputeConvergenceRate()
|
| /petsc/src/dm/impls/plex/transform/impls/refine/regular/ |
| H A D | plexrefregular.c | 309 static PetscErrorCode DMPlexCellRefinerGetCellVertices_Regular(DMPlexCellRefiner cr, DMPolytopeType… 339 static PetscErrorCode DMPlexCellRefinerGetSubcellVertices_Regular(DMPlexCellRefiner cr, DMPolytopeT…
|
| /petsc/src/mat/tests/ |
| H A D | ex23.c | 305 …PetscInt ri, ci, rr[3] = {0, 1, 0}, cr[4] = {1, 2, 0, 1}, rk[3] = {0, 2, 1}, ck[4] =… in main() local 315 c = (PetscInt *)(ci == 0 ? cr : ck); in main()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 1447 PetscInt dim, cr = 0, co = 0, nr, no; in DMPlexTransformGetCone_Internal() local 1455 PetscCall(DMPlexTransformGetSubcellOrientation(tr, ct, p, o, ctNew, cr, co, &nr, &no)); in DMPlexTransformGetCone_Internal() 1456 if (cr != nr || co != no) PetscCall(DMGetWorkArray(dm, csizeNew, MPIU_INT, &newft)); in DMPlexTransformGetCone_Internal()
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex2_help.out | 81 …cgs bcgsl pipecg2 pipelcg gltr cg tfqmr pgmres lsqr pipegcr bicg cgls bcgs cr dgmres none qmrcgs g…
|
| /petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/ |
| H A D | project.pbxproj | 404 …D89D1E0D207AA1AB00FACC19 /* cr.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1B25207AA1AA00… 1156 …89D1B25207AA1AA00FACC19 /* cr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1927 D89D1B25207AA1AA00FACC19 /* cr.c */, 2496 D89D1E0D207AA1AB00FACC19 /* cr.c in Sources */,
|
| /petsc/doc/manual/ |
| H A D | ksp.md | 183 `tfqmr`, `cr`, `lsqr`, `bicg`, `preonly` (or the equivalent `none`), or others (see 398 - ``cr``
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 2319 (dpm/spray-suite/ssd-we-cr 6.) 4568 (mp/flow-regime/aiad/vof-cr 0.3) 8027 (trans-kw-cr-new 0.12)
|