Searched refs:ngmres (Results 1 – 12 of 12) sorted by relevance
| /petsc/src/snes/impls/ngmres/ |
| H A D | snesngmres.c | 10 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESReset_NGMRES() local 13 PetscCall(VecDestroyVecs(ngmres->msize, &ngmres->Fdot)); in SNESReset_NGMRES() 14 PetscCall(VecDestroyVecs(ngmres->msize, &ngmres->Xdot)); in SNESReset_NGMRES() 15 PetscCall(SNESLineSearchDestroy(&ngmres->additive_linesearch)); in SNESReset_NGMRES() 21 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESDestroy_NGMRES() local 25 PetscCall(PetscFree4(ngmres->h, ngmres->beta, ngmres->xi, ngmres->q)); in SNESDestroy_NGMRES() 26 PetscCall(PetscFree3(ngmres->xnorms, ngmres->fnorms, ngmres->s)); in SNESDestroy_NGMRES() 28 PetscCall(PetscFree(ngmres->rwork)); in SNESDestroy_NGMRES() 30 PetscCall(PetscFree(ngmres->work)); in SNESDestroy_NGMRES() 41 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESSetUp_NGMRES() local [all …]
|
| H A D | ngmresfunc.c | 6 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESNGMRESGetAdditiveLineSearch_Private() local 9 if (!ngmres->additive_linesearch) { in SNESNGMRESGetAdditiveLineSearch_Private() 12 … PetscCall(SNESLineSearchCreate(PetscObjectComm((PetscObject)snes), &ngmres->additive_linesearch)); in SNESNGMRESGetAdditiveLineSearch_Private() 13 PetscCall(SNESLineSearchSetSNES(ngmres->additive_linesearch, snes)); in SNESNGMRESGetAdditiveLineSearch_Private() 14 PetscCall(SNESLineSearchSetType(ngmres->additive_linesearch, SNESLINESEARCHSECANT)); in SNESNGMRESGetAdditiveLineSearch_Private() 15 …PetscCall(SNESLineSearchAppendOptionsPrefix(ngmres->additive_linesearch, "snes_ngmres_additive_")); in SNESNGMRESGetAdditiveLineSearch_Private() 16 PetscCall(SNESLineSearchAppendOptionsPrefix(ngmres->additive_linesearch, optionsprefix)); in SNESNGMRESGetAdditiveLineSearch_Private() 17 …PetscCall(PetscObjectIncrementTabLevel((PetscObject)ngmres->additive_linesearch, (PetscObject)snes… in SNESNGMRESGetAdditiveLineSearch_Private() 19 *linesearch = ngmres->additive_linesearch; in SNESNGMRESGetAdditiveLineSearch_Private() 25 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESNGMRESUpdateSubspace_Private() local [all …]
|
| H A D | anderson.c | 5 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESSetFromOptions_Anderson() local 10 …scOptionsInt("-snes_anderson_m", "Number of directions", "SNES", ngmres->msize, &ngmres->msize, NU… in SNESSetFromOptions_Anderson() 11 …ptionsReal("-snes_anderson_beta", "Mixing parameter", "SNES", ngmres->andersonBeta, &ngmres->ander… in SNESSetFromOptions_Anderson() 12 …erson_restart", "Iterations before forced restart", "SNES", ngmres->restart_periodic, &ngmres->res… in SNESSetFromOptions_Anderson() 13 …on_restart_it", "Tolerance iterations before restart", "SNES", ngmres->restart_it, &ngmres->restar… in SNESSetFromOptions_Anderson() 14 …RESSetRestartType", SNESNGMRESRestartTypes, (PetscEnum)ngmres->restart_type, (PetscEnum *)&ngmres-… in SNESSetFromOptions_Anderson() 15 …ol("-snes_anderson_monitor", "Monitor steps of Anderson Mixing", "SNES", ngmres->monitor ? PETSC_T… in SNESSetFromOptions_Anderson() 16 if (monitor) ngmres->monitor = PETSC_VIEWER_STDOUT_(PetscObjectComm((PetscObject)snes)); in SNESSetFromOptions_Anderson() 23 SNES_NGMRES *ngmres = (SNES_NGMRES *)snes->data; in SNESSolve_Anderson() local 112 PetscCall(VecAXPBY(XM, 1.0 - ngmres->andersonBeta, ngmres->andersonBeta, X)); in SNESSolve_Anderson() [all …]
|
| H A D | snesngmres.h | 60 #define H(i, j) ngmres->h[i * ngmres->msize + j] 61 #define Q(i, j) ngmres->q[i * ngmres->msize + j]
|
| /petsc/src/tao/unconstrained/tutorials/output/ |
| H A D | minsurf2_4_snes_ngmres_snes_ngmres_select_type-difference.out | 30 type: ngmres
|
| H A D | minsurf2_4_snes_ngmres_snes_ngmres_select_type-linesearch.out | 41 type: ngmres
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex19_ngmres_fas_ms.out | 11 type: ngmres
|
| /petsc/src/ts/tests/output/ |
| H A D | ex21_1_bdf_ngmres_fas_ngs.out | 43 type: ngmres
|
| H A D | ex21_2_bdf_ngmres_fas_ngs.out | 55 type: ngmres
|
| H A D | ex21_1_bdf_ngmres_fas_ms.out | 43 type: ngmres
|
| H A D | ex21_2_bdf_ngmres_fas_ms.out | 55 type: ngmres
|
| /petsc/doc/manual/ |
| H A D | snes.md | 301 - ``ngmres``
|