Home
last modified time | relevance | path

Searched refs:pipefgmres (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/ksp/impls/gmres/pipefgmres/
H A Dpipefgmres.c25 KSP_PIPEFGMRES *pipefgmres = (KSP_PIPEFGMRES *)ksp->data; in KSPSetUp_PIPEFGMRES() local
26 const PetscInt max_k = pipefgmres->max_k; in KSPSetUp_PIPEFGMRES()
31 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->prevecs)); in KSPSetUp_PIPEFGMRES()
32 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->prevecs_user_work)); in KSPSetUp_PIPEFGMRES()
34 …PetscCall(KSPCreateVecs(ksp, pipefgmres->vv_allocated, &pipefgmres->prevecs_user_work[0], 0, NULL)… in KSPSetUp_PIPEFGMRES()
35 …for (k = 0; k < pipefgmres->vv_allocated; k++) pipefgmres->prevecs[k] = pipefgmres->prevecs_user_w… in KSPSetUp_PIPEFGMRES()
37 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->zvecs)); in KSPSetUp_PIPEFGMRES()
38 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->zvecs_user_work)); in KSPSetUp_PIPEFGMRES()
40 PetscCall(PetscMalloc1(VEC_OFFSET + max_k, &pipefgmres->redux)); in KSPSetUp_PIPEFGMRES()
42 PetscCall(KSPCreateVecs(ksp, pipefgmres->vv_allocated, &pipefgmres->zvecs_user_work[0], 0, NULL)); in KSPSetUp_PIPEFGMRES()
[all …]
H A Dpipefgmresimpl.h26 #define HH(a, b) (pipefgmres->hh_origin + (b) * (pipefgmres->max_k + 2) + (a))
28 #define HES(a, b) (pipefgmres->hes_origin + (b) * (pipefgmres->max_k + 1) + (a))
30 #define CC(a) (pipefgmres->cc_origin + (a)) /* CC will be length (max_k+1) - cosines */
31 #define SS(a) (pipefgmres->ss_origin + (a)) /* SS will be length (max_k+1) - sines */
32 #define RS(a) (pipefgmres->rs_origin + (a)) /* RS will be length (max_k+2) - rt side */
36 #define VEC_TEMP pipefgmres->vecs[0] /* work space */
37 #define VEC_TEMP_MATOP pipefgmres->vecs[1] /* work space */
38 #define VEC_Q pipefgmres->vecs[2] /* work space - Q pipelining var */
39 #define VEC_W pipefgmres->vecs[3] /* work space - W pipelining var */
41 #define VEC_VV(i) pipefgmres->vecs[VEC_OFFSET + i] /* use to access othog basis vectors. Note the o…
[all …]
/petsc/src/ksp/ksp/tutorials/output/
H A Dex23_3.out8 type: pipefgmres
H A Dex2_help.out81 …-ksp_type <now gmres : formerly gmres>: Krylov method (one of) fetidp pipefgmres stcg tsirm tcqmr …
/petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/
H A Dproject.pbxproj137 …89D1D02207AA1AB00FACC19 /* pipefgmres.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D1A1A207…
889 …07AA1A900FACC19 /* pipefgmres.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1660 D89D1A1A207AA1A900FACC19 /* pipefgmres.c */,
2867 D89D1D02207AA1AB00FACC19 /* pipefgmres.c in Sources */,
/petsc/doc/manual/
H A Dksp.md392 - ``pipefgmres``