Searched refs:yreal (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ts/interface/ |
| H A D | tsmon.c | 1084 PetscReal *yreal; in TSMonitorLGSolution() local 1086 PetscCall(PetscMalloc1(n, &yreal)); in TSMonitorLGSolution() 1087 for (i = 0; i < n; i++) yreal[i] = PetscRealPart(yy[i]); in TSMonitorLGSolution() 1088 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, yreal)); in TSMonitorLGSolution() 1089 PetscCall(PetscFree(yreal)); in TSMonitorLGSolution() 1364 PetscReal *yreal; in TSMonitorLGError() local 1367 PetscCall(PetscMalloc1(n, &yreal)); in TSMonitorLGError() 1368 for (i = 0; i < n; i++) yreal[i] = PetscRealPart(yy[i]); in TSMonitorLGError() 1369 PetscCall(PetscDrawLGAddCommonPoint(ctx->lg, ptime, yreal)); in TSMonitorLGError() 1370 PetscCall(PetscFree(yreal)); in TSMonitorLGError()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 3758 PetscReal yreal[3] = {PetscRealPart(y[0]), PetscRealPart(y[1]), PetscRealPart(y[2])}; in TPSNearestPointResJac() local 3767 feval(yreal, &f, grad, n_y); in TPSNearestPointResJac()
|