Home
last modified time | relevance | path

Searched refs:pgmres (Results 1 – 5 of 5) sorted by relevance

/petsc/src/ksp/ksp/impls/gmres/pgmres/
H A Dpgmresimpl.h10 #define HH(a, b) (pgmres->hh_origin + (b) * (pgmres->max_k + 2) + (a))
12 #define HES(a, b) (pgmres->hes_origin + (b) * (pgmres->max_k + 1) + (a))
14 #define CC(a) (pgmres->cc_origin + (a)) /* CC will be length (max_k+1) - cosines */
15 #define SS(a) (pgmres->ss_origin + (a)) /* SS will be length (max_k+1) - sines */
16 #define RS(a) (pgmres->rs_origin + (a)) /* RS will be length (max_k+2) - rt side */
20 #define VEC_TEMP pgmres->vecs[0] /* work space */
21 #define VEC_TEMP_MATOP pgmres->vecs[1] /* work space */
22 #define VEC_VV(i) pgmres->vecs[VEC_OFFSET + i] /* use to access othog basis vectors */
H A Dpgmres.c19 KSP_PGMRES *pgmres = (KSP_PGMRES *)ksp->data; in KSPPGMRESCycle() local
36 pgmres->it = it - 2; in KSPPGMRESCycle()
48 if (pgmres->vv_allocated <= it + VEC_OFFSET + 1) PetscCall(KSPGMRESGetNewVectors(ksp, it + 1)); in KSPPGMRESCycle()
54 …if (it < pgmres->max_k + 1 && ksp->its + 1 < PetscMax(2, ksp->max_it)) { /* We don't know whether … in KSPPGMRESCycle()
71 pgmres->it = it - 2; in KSPPGMRESCycle()
78 …if (it < pgmres->max_k + 1) { /* Monitor if we are not done or still iterating, but not before a r… in KSPPGMRESCycle()
89 if (!(it < pgmres->max_k + 1 && ksp->its < ksp->max_it)) break; in KSPPGMRESCycle()
105 if (!pgmres->orthogwork) PetscCall(PetscMalloc1(pgmres->max_k + 2, &pgmres->orthogwork)); in KSPPGMRESCycle()
106 work = pgmres->orthogwork; in KSPPGMRESCycle()
167 KSP_PGMRES *pgmres = (KSP_PGMRES *)ksp->data; in KSPSolve_PGMRES() local
[all …]
/petsc/src/ksp/ksp/tutorials/output/
H A Dex2_help.out81 …qcg gcr cgne pipefcg pipecr pipebcgs bcgsl pipecg2 pipelcg gltr cg tfqmr pgmres lsqr pipegcr bicg …
/petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/
H A Dproject.pbxproj373 …D89D1DEE207AA1AB00FACC19 /* pgmres.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1B06207AA1…
1125 …B06207AA1AA00FACC19 /* pgmres.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1896 D89D1B06207AA1AA00FACC19 /* pgmres.c */,
2640 D89D1DEE207AA1AB00FACC19 /* pgmres.c in Sources */,
/petsc/doc/manual/
H A Dksp.md389 - ``pgmres``