Searched refs:endpoint (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/ts/impls/implicit/theta/ |
| H A D | theta.c | 18 PetscBool endpoint; member 128 if (th->endpoint) { in TSThetaEvaluateCostIntegral() 213 th->stage_time = ts->ptime + (th->endpoint ? (PetscReal)1 : th->Theta) * ts->time_step; in TSStep_Theta() 216 if (th->endpoint) { /* This formulation assumes linear time-independent mass matrix */ in TSStep_Theta() 223 PetscCall(TSTheta_SNESSolve(ts, th->endpoint ? th->affine : NULL, th->X)); in TSStep_Theta() 228 if (th->endpoint) { in TSStep_Theta() 442 th->stage_time = th->endpoint ? ts->ptime : (ts->ptime + (1. - th->Theta) * ts->time_step); in TSAdjointStep_Theta() 446 if (!th->endpoint) { in TSAdjointStep_Theta() 454 if (th->endpoint) { in TSAdjointStep_Theta() 475 if (th->endpoint) { in TSAdjointStep_Theta() [all …]
|
| /petsc/src/ts/tutorials/ |
| H A D | ex10.c | 68 PetscBool endpoint; member 261 if (istheta && rd->endpoint) PetscCall(TSThetaGetTheta(ts, Theta)); in RDGetLocalArrays() 266 …if (rd->endpoint) PetscCall(VecWAXPY(*Xloc, *dt, *Xloc_t, *X0loc)); /* move the abscissa to the en… in RDGetLocalArrays() 333 if (rd->endpoint) { in RDIFunction_FD() 403 if (rd->endpoint) { in RDIJacobian_FD() 658 if (rd->endpoint) { in RDIFunction_FE() 1060 …sing endpoints (like trapezoid rule) instead of midpoint", "", rd->endpoint, &rd->endpoint, NULL)); in RDCreate()
|
| /petsc/src/dm/interface/ |
| H A D | dmperiodicity.c | 97 PetscErrorCode DMLocalizeCoordinate(DM dm, const PetscScalar in[], PetscBool endpoint, PetscScalar … in DMLocalizeCoordinate() argument 106 if (endpoint) { in DMLocalizeCoordinate()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexglvis.c | 319 PetscBool endpoint = PETSC_TRUE; in GLVisCreateFE() local 355 PetscCall(PetscDualSpaceLagrangeSetNodeType(Q, nodeType, endpoint, 0)); in GLVisCreateFE()
|
| H A D | plexgmsh.c | 1405 PetscBool endpoint = PETSC_TRUE; in GmshCreateFE() local 1428 PetscCall(PetscDualSpaceLagrangeSetNodeType(Q, nodeType, endpoint, 0)); in GmshCreateFE()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | TS.pyx | 3041 """Set to use the endpoint variant of `Type.THETA`. 3048 Enable to use the endpoint variant. 3059 """Return whether the endpoint variable of `Type.THETA` is used.
|