Home
last modified time | relevance | path

Searched refs:prec (Results 1 – 9 of 9) sorted by relevance

/petsc/src/ksp/pc/tutorials/
H A Dex1.c23 PC prec; in main() local
85 PetscCall(KSPGetPC(solver, &prec)); in main()
86 PetscCall(PCSetType(prec, PCILU)); in main()
97 PetscCall(PCFactorGetMatrix(prec, &M)); in main()
/petsc/src/sys/classes/viewer/impls/glvis/
H A Dglvis.c46 PetscErrorCode PetscViewerGLVisSetPrecision(PetscViewer viewer, PetscInt prec) in PetscViewerGLVisSetPrecision() argument
50 PetscTryMethod(viewer, "PetscViewerGLVisSetPrecision_C", (PetscViewer, PetscInt), (viewer, prec)); in PetscViewerGLVisSetPrecision()
54 static PetscErrorCode PetscViewerGLVisSetPrecision_GLVis(PetscViewer viewer, PetscInt prec) in PetscViewerGLVisSetPrecision_GLVis() argument
60 if (prec > 0) { in PetscViewerGLVisSetPrecision_GLVis()
62 PetscCall(PetscSNPrintf(socket->fmt, 16, " %%.%" PetscInt_FMT "e", prec)); in PetscViewerGLVisSetPrecision_GLVis()
538 PetscInt nsizes = 2, prec = PETSC_DECIDE; in PetscViewerSetFromOptions_GLVis() local
543 … "Number of digits for floating point values", "PetscViewerGLVisSetPrecision", prec, &prec, &set)); in PetscViewerSetFromOptions_GLVis()
544 if (set) PetscCall(PetscViewerGLVisSetPrecision(v, prec)); in PetscViewerSetFromOptions_GLVis()
/petsc/src/tao/pde_constrained/tutorials/
H A Dhyperbolic.c54 PC prec; member
1061 PetscCall(KSPGetPC(user->solver, &user->prec)); in HyperbolicInitialize()
1062 PetscCall(PCSetType(user->prec, PCSHELL)); in HyperbolicInitialize()
1064 PetscCall(PCShellSetApply(user->prec, StateMatBlockPrecMult)); in HyperbolicInitialize()
1065 PetscCall(PCShellSetApplyTranspose(user->prec, StateMatBlockPrecMultTranspose)); in HyperbolicInitialize()
1066 PetscCall(PCShellSetContext(user->prec, user)); in HyperbolicInitialize()
H A Dparabolic.c60 PC prec; member
957 PetscCall(KSPGetPC(user->solver, &user->prec)); in ParabolicInitialize()
958 PetscCall(PCSetType(user->prec, PCSHELL)); in ParabolicInitialize()
960 PetscCall(PCShellSetApply(user->prec, StateMatBlockPrecMult)); in ParabolicInitialize()
961 PetscCall(PCShellSetApplyTranspose(user->prec, StateMatBlockPrecMult)); in ParabolicInitialize()
962 PetscCall(PCShellSetContext(user->prec, user)); in ParabolicInitialize()
H A Delliptic.c64 PC prec; member
/petsc/lib/petsc/bin/maint/
H A Dtoclapack.sh623 static real emin, prec, emax;
1660 /* prec = eps*base */
1697 prec = eps * base;
1718 rmach = prec;
2613 static quadreal emin, prec, emax;
3651 /* prec = eps*base */
3688 prec = eps * base;
3709 rmach = prec;
/petsc/src/mat/impls/aij/mpi/strumpack/
H A Dstrumpack.c1081 …const STRUMPACK_PRECISION prec = table[(sizeof(PetscInt) == 8) ? 0 : 1][(PETSC_SCALA… in MatGetFactor_aij_strumpack() local
1145 …Void("STRUMPACK_init", STRUMPACK_init(S, PetscObjectComm((PetscObject)A), prec, iface, 0, NULL, ve… in MatGetFactor_aij_strumpack()
/petsc/src/ksp/pc/impls/bddc/
H A Dbddc.c2647 PetscBool isschur, prec = PETSC_TRUE; in PCBDDCCreateFETIDPOperators_BDDC() local
2676 … PetscCall(PetscOptionsGetBool(NULL, ((PetscObject)kspC)->prefix, "-preconditioned", &prec, NULL)); in PCBDDCCreateFETIDPOperators_BDDC()
2677 if (prec) { in PCBDDCCreateFETIDPOperators_BDDC()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas868 (soot/prec-coeffs (3 3 0. 0.0575 3.797003e-06 -0.001920161 0.05277236 7 0.0575 0.128 1.051312 -71.3…
899 (soot/prec-soot ())
900 (soot/prec-from 0)
950 (soot/max-prec-spec 5)
1225 (soot-mom/prec-stick-coeffs ())
1557 (dual-ts/dtau-prec-vel (#t #t #t))
2140 (dpm/use-single-prec-face-point-method? #f)
8765 (dual-time/use-prec? #t)