| /petsc/src/snes/impls/qn/ |
| H A D | qn.c | 23 SNES_QN *qn = (SNES_QN *)snes->data; in SNESQNGetMatrix_Private() local 27 if (!qn->B) { in SNESQNGetMatrix_Private() 28 PetscCall(MatCreate(PetscObjectComm((PetscObject)snes), &qn->B)); in SNESQNGetMatrix_Private() 30 PetscCall(MatSetOptionsPrefix(qn->B, optionsprefix)); in SNESQNGetMatrix_Private() 31 PetscCall(MatAppendOptionsPrefix(qn->B, "qn_")); in SNESQNGetMatrix_Private() 32 switch (qn->type) { in SNESQNGetMatrix_Private() 34 PetscCall(MatSetType(qn->B, MATLMVMBROYDEN)); in SNESQNGetMatrix_Private() 35 qn->scale_type = SNES_QN_SCALE_NONE; in SNESQNGetMatrix_Private() 38 PetscCall(MatSetType(qn->B, MATLMVMBADBROYDEN)); in SNESQNGetMatrix_Private() 39 qn->scale_type = SNES_QN_SCALE_NONE; in SNESQNGetMatrix_Private() [all …]
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex3_10.out | 6 SNES Type qn
|
| /petsc/src/snes/impls/tr/ |
| H A D | trimpl.h | 36 SNESNewtonTRQNType qn; member
|
| H A D | tr.c | 154 tr->qn = use; in SNESNewtonTRSetQNType() 443 if (tr->qn) { in SNESSetUpQN_NEWTONTR() 460 if (tr->qn == SNES_TR_QN_DIFFERENT) { in SNESSetUpQN_NEWTONTR() 839 SNESNewtonTRQNType qn; in SNESSetFromOptions_NEWTONTR() local 861 qn = ctx->qn; in SNESSetFromOptions_NEWTONTR() 862 … the model", "SNESNewtonTRSetQNType", SNESNewtonTRQNTypes, (PetscEnum)qn, (PetscEnum *)&qn, &flg)); in SNESSetFromOptions_NEWTONTR() 863 if (flg) PetscCall(SNESNewtonTRSetQNType(snes, qn)); in SNESSetFromOptions_NEWTONTR() 887 … if (tr->qn) PetscCall(PetscViewerASCIIPrintf(viewer, " qn=%s\n", SNESNewtonTRQNTypes[tr->qn])); in SNESView_NEWTONTR()
|
| /petsc/src/snes/tests/output/ |
| H A D | ex1_2c_snes_tr_qn-same.out | 10 qn=SAME
|
| H A D | ex1_2c_snes_tr_qn-different.out | 10 qn=DIFFERENT
|
| /petsc/src/ksp/ksp/impls/ibcgs/ |
| H A D | ibcgs.c | 36 #define qn_1 qn 57 …const PetscScalar *PETSC_RESTRICT r0, *PETSC_RESTRICT f0, *PETSC_RESTRICT qn, *PETSC_RESTRICT b, *… in KSPSolve_IBCGS() local 208 pin += r0[i] * qn[i]; in KSPSolve_IBCGS()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex70.c | 608 PetscInt qn, nearest_neighbour = -1; in DMSwarmPICInsertPointsCellwise() local 612 for (qn = 0; qn < npoints_e; qn++) { in DMSwarmPICInsertPointsCellwise() 613 coor_qn = &swarm_coor[dim * plist_e[qn]]; in DMSwarmPICInsertPointsCellwise() 617 nearest_neighbour = plist_e[qn]; in DMSwarmPICInsertPointsCellwise()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 1336 PetscInt coneSize, supportSize, qf, qn, qp, e; in DMPlexConstructCohesiveCells_Internal() local 1375 for (e = 0, qn = 0, qp = 0, qf = 0; e < supportSize; ++e) { in DMPlexConstructCohesiveCells_Internal() 1380 if ((val == 1) || (val == (shift + 1))) ++qn; in DMPlexConstructCohesiveCells_Internal() 1384 PetscCall(DMPlexSetSupportSize(sdm, newp, qn + 1)); in DMPlexConstructCohesiveCells_Internal() 1395 for (e = 0, qn = 0, qp = 0, qf = 0; e < supportSize; ++e) { in DMPlexConstructCohesiveCells_Internal() 1400 if ((val == dim - 1) || (val == (shift + dim - 1))) ++qn; in DMPlexConstructCohesiveCells_Internal() 1404 PetscCall(DMPlexSetSupportSize(sdm, newp, qn + 1)); in DMPlexConstructCohesiveCells_Internal() 1480 PetscInt coneSize, supportSize, q, qf, qn, qp, v, e, s; in DMPlexConstructCohesiveCells_Internal() local 1609 for (e = 0, qn = 0; e < supportSize; ++e) { in DMPlexConstructCohesiveCells_Internal() 1613 …if ((val == 1) || (val == (shift + 1))) supportNew[qn++] = DMPlexShiftPoint_Internal(support[e], d… in DMPlexConstructCohesiveCells_Internal() [all …]
|
| /petsc/doc/manual/ |
| H A D | snes.md | 305 - ``qn`` 667 `-snes_type qn` and may be changed with `snes_qn_type`. The default
|
| /petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/ |
| H A D | project.pbxproj | 712 …D89D1F41207AA1AC00FACC19 /* qn.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1C59207AA1AB00… 1464 …89D1C59207AA1AB00FACC19 /* qn.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 2235 D89D1C59207AA1AB00FACC19 /* qn.c */, 2828 D89D1F41207AA1AC00FACC19 /* qn.c in Sources */,
|