Searched refs:ASum (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/impls/rosw/ |
| H A D | rosw.c | 34 PetscReal *ASum; /* Row sum of A */ member 762 PetscCall(PetscFree5(t->A, t->Gamma, t->b, t->ASum, t->GammaSum)); in TSRosWRegisterDestroy() 850 PetscCall(PetscMalloc5(s * s, &t->A, s * s, &t->Gamma, s, &t->b, s, &t->ASum, s, &t->GammaSum)); in TSRosWRegister() 861 t->ASum[i] = 0; in TSRosWRegister() 864 t->ASum[i] += A[i * s + j]; in TSRosWRegister() 1130 const PetscReal *At = tab->At, *Gamma = tab->Gamma, *ASum = tab->ASum, *GammaInv = tab->GammaInv; in TSStep_RosW() local 1150 ros->stage_time = ts->ptime + h * ASum[i]; in TSStep_RosW() 1558 PetscCall(PetscFormatRealArray(buf, sizeof(buf), "% 8.6f", tab->s, tab->ASum)); in TSView_RosW() 1560 for (i = 0; i < tab->s; i++) abscissa[i] = tab->ASum[i] + tab->GammaSum[i]; in TSView_RosW()
|