Lines Matching refs:max_r
821 static PetscErrorCode TSGLLEGetMaxSizes(TS ts, PetscInt *max_r, PetscInt *max_s) in TSGLLEGetMaxSizes() argument
826 *max_r = gl->schemes[gl->nschemes - 1]->r; in TSGLLEGetMaxSizes()
834 PetscInt i, k, its, lits, max_r, max_s; in TSSolve_GLLE() local
841 PetscCall(TSGLLEGetMaxSizes(ts, &max_r, &max_s)); in TSSolve_GLLE()
843 for (i = 1; i < max_r; i++) PetscCall(VecZeroEntries(gl->X[i])); in TSSolve_GLLE()
1009 PetscInt max_r, max_s; in TSReset_GLLE() local
1013 PetscCall(TSGLLEGetMaxSizes(ts, &max_r, &max_s)); in TSReset_GLLE()
1014 PetscCall(VecDestroyVecs(max_r, &gl->Xold)); in TSReset_GLLE()
1015 PetscCall(VecDestroyVecs(max_r, &gl->X)); in TSReset_GLLE()
1088 PetscInt max_r, max_s; in TSSetUp_GLLE() local
1093 PetscCall(TSGLLEGetMaxSizes(ts, &max_r, &max_s)); in TSSetUp_GLLE()
1094 PetscCall(VecDuplicateVecs(ts->vec_sol, max_r, &gl->X)); in TSSetUp_GLLE()
1095 PetscCall(VecDuplicateVecs(ts->vec_sol, max_r, &gl->Xold)); in TSSetUp_GLLE()