Home
last modified time | relevance | path

Searched refs:restart_type (Results 1 – 4 of 4) sorted by relevance

/petsc/src/snes/impls/qn/
H A Dqn.c18 SNESQNRestartType restart_type; /* determine the frequency and type of restart conditions */ member
217 if (qn->restart_type == SNES_QN_RESTART_POWELL && i_r > 1) { in SNESSolve_QN()
231 if (qn->restart_type == SNES_QN_RESTART_PERIODIC) { in SNESSolve_QN()
280 if (qn->restart_type == SNES_QN_RESTART_DEFAULT) { in SNESSetUp_QN()
282 qn->restart_type = SNES_QN_RESTART_POWELL; in SNESSetUp_QN()
284 qn->restart_type = SNES_QN_RESTART_PERIODIC; in SNESSetUp_QN()
324 SNESQNRestartType rtype = qn->restart_type; in SNESSetFromOptions_QN()
368 …s, scale type is %s\n", SNESQNTypes[qn->type], SNESQNRestartTypes[qn->restart_type], SNESQNScaleTy… in SNESView_QN()
440 qn->restart_type = rtype; in SNESQNSetRestartType_QN()
541 qn->restart_type = SNES_QN_RESTART_DEFAULT; in SNESCreate_QN()
/petsc/src/snes/impls/ngmres/
H A Danderson.c14 …rtType", SNESNGMRESRestartTypes, (PetscEnum)ngmres->restart_type, (PetscEnum *)&ngmres->restart_ty… in SNESSetFromOptions_Anderson()
121 if (ngmres->restart_type == SNES_NGMRES_RESTART_DIFFERENCE) { in SNESSolve_Anderson()
127 } else if (ngmres->restart_type == SNES_NGMRES_RESTART_PERIODIC) { in SNESSolve_Anderson()
228 ngmres->restart_type = SNES_NGMRES_RESTART_NONE; in SNESCreate_Anderson()
H A Dsnesngmres.c86 …rtType", SNESNGMRESRestartTypes, (PetscEnum)ngmres->restart_type, (PetscEnum *)&ngmres->restart_ty… in SNESSetFromOptions_NGMRES()
247 …if (ngmres->restart_type == SNES_NGMRES_RESTART_DIFFERENCE || ngmres->select_type == SNES_NGMRES_S… in SNESSolve_NGMRES()
267 if (ngmres->restart_type == SNES_NGMRES_RESTART_DIFFERENCE) { in SNESSolve_NGMRES()
273 } else if (ngmres->restart_type == SNES_NGMRES_RESTART_PERIODIC) { in SNESSolve_NGMRES()
447 ngmres->restart_type = rtype; in SNESNGMRESSetRestartType_NGMRES()
531 ngmres->restart_type = SNES_NGMRES_RESTART_DIFFERENCE; in SNESCreate_NGMRES()
H A Dsnesngmres.h13 SNESNGMRESRestartType restart_type; member